LiteFX::Rendering::Viewport::Viewport¶
Initializes a new viewport.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
[[dllimport, dllexport]] explicit Viewport(
RectF const& clientRect = { },
Float minDepth = 0.f,
Float maxDepth = 1.f) noexcept;
Parameters¶
| Name | Description |
|---|---|
| clientRect | The rectangle that defines the dimensions of the viewport. |
| minDepth | The minimum depth of the viewport. |
| maxDepth | The maximum depth of the viewport. |