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.
|
| virtual void | setRectangle (const RectF &rectangle) noexcept=0 |
| | Sets the rectangle that defines the dimensions of the viewport.
|
| virtual float | getMinDepth () const noexcept=0 |
| | Gets the minimum depth of the viewport.
|
| virtual void | setMinDepth (Float depth) const noexcept=0 |
| | Sets the minimum depth of the viewport.
|
| virtual float | getMaxDepth () const noexcept=0 |
| | Gets the maximum depth of the viewport.
|
| virtual void | setMaxDepth (Float depth) const noexcept=0 |
| | Sets the maximum depth of the viewport.
|
Interface for a viewport.
◆ IViewport() [1/3]
| LiteFX::Rendering::IViewport::IViewport |
( |
| ) |
|
|
protecteddefaultnoexcept |
◆ IViewport() [2/3]
| LiteFX::Rendering::IViewport::IViewport |
( |
const IViewport & | | ) |
|
|
protecteddefault |
◆ IViewport() [3/3]
| LiteFX::Rendering::IViewport::IViewport |
( |
IViewport && | | ) |
|
|
protecteddefaultnoexcept |
◆ ~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.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ setMaxDepth()
| virtual void LiteFX::Rendering::IViewport::setMaxDepth |
( |
Float | depth | ) |
const |
|
pure virtualnoexcept |
◆ setMinDepth()
| virtual void LiteFX::Rendering::IViewport::setMinDepth |
( |
Float | depth | ) |
const |
|
pure virtualnoexcept |
◆ 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.