Interface for a viewport.
More...
#include <rendering_api.hpp>
Inherited by LiteFX::Rendering::Viewport.
|
virtual | ~IViewport () noexcept=default |
|
virtual RectF | getRectangle () const noexcept=0 |
| Gets the rectangle that defines the dimensions of the viewport. More...
|
|
virtual void | setRectangle (const RectF &rectangle) noexcept=0 |
| Sets the rectangle that defines the dimensions of the viewport. More...
|
|
virtual float | getMinDepth () const noexcept=0 |
| Gets the minimum depth of the viewport. More...
|
|
virtual void | setMinDepth (const float &depth) const noexcept=0 |
| Sets the minimum depth of the viewport. More...
|
|
virtual float | getMaxDepth () const noexcept=0 |
| Gets the maximum depth of the viewport. More...
|
|
virtual void | setMaxDepth (const float &depth) const noexcept=0 |
| Sets the maximum depth of the viewport. More...
|
|
Interface for a viewport.
◆ ~IViewport()
virtual LiteFX::Rendering::IViewport::~IViewport |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ getMaxDepth()
virtual float LiteFX::Rendering::IViewport::getMaxDepth |
( |
| ) |
const |
|
pure virtualnoexcept |
◆ getMinDepth()
virtual float LiteFX::Rendering::IViewport::getMinDepth |
( |
| ) |
const |
|
pure virtualnoexcept |
◆ getRectangle()
virtual RectF LiteFX::Rendering::IViewport::getRectangle |
( |
| ) |
const |
|
pure virtualnoexcept |
Gets the rectangle that defines the dimensions of the viewport.
- Returns
- The rectangle that defines the dimensions of the viewport.
Implemented in LiteFX::Rendering::Viewport.
◆ setMaxDepth()
virtual void LiteFX::Rendering::IViewport::setMaxDepth |
( |
const float & |
depth | ) |
const |
|
pure virtualnoexcept |
Sets the maximum depth of the viewport.
- Parameters
-
depth | The maximum depth of the viewport. |
◆ setMinDepth()
virtual void LiteFX::Rendering::IViewport::setMinDepth |
( |
const float & |
depth | ) |
const |
|
pure virtualnoexcept |
Sets the minimum depth of the viewport.
- Parameters
-
depth | The minimum depth of the viewport. |
◆ setRectangle()
virtual void LiteFX::Rendering::IViewport::setRectangle |
( |
const RectF & |
rectangle | ) |
|
|
pure virtualnoexcept |
Sets the rectangle that defines the dimensions of the viewport.
- Parameters
-
rectangle | The rectangle that defines the dimensions of the viewport. |
Implemented in LiteFX::Rendering::Viewport.