Skip to content

LiteFX::Rendering::Viewport

Implements a viewport.

Synopsis

Declared in <litefx/rendering_api.hpp>

class [[dllimport, dllexport]] Viewport
    : public IViewport

Base Classes

NameDescription
IViewportInterface for a viewport.

Member Functions

NameDescription
Viewport [constructor]Constructors
~Viewport [destructor] [virtual]Releases the render target instance.
operator= Assignment operators
getMaxDepth [virtual]Gets the maximum depth of the viewport.
getMinDepth [virtual]Gets the minimum depth of the viewport.
getRectangle [virtual]Gets the rectangle that defines the dimensions of the viewport.
setMaxDepth [virtual]Sets the maximum depth of the viewport.
setMinDepth [virtual]Sets the minimum depth of the viewport.
setRectangle [virtual]Sets the rectangle that defines the dimensions of the viewport.

Protected Member Functions

NameDescription
operator= Assignment operators

Friends

NameDescription
LiteFX::Rendering::Viewport::ViewportImpl
LiteFX::PimplPtrA smart pointer that manages an implementation instance for a public interface class.