LiteFX 0.4.1.2025
Computer Graphics Engine
|
Interface for a viewport. More...
#include <rendering_api.hpp>
Inherited by LiteFX::Rendering::Viewport.
Public Member Functions | |
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. | |
Protected Member Functions | |
IViewport () noexcept=default | |
IViewport (const IViewport &)=default | |
IViewport (IViewport &&) noexcept=default | |
IViewport & | operator= (const IViewport &)=default |
IViewport & | operator= (IViewport &&) noexcept=default |
Interface for a viewport.
|
protecteddefaultnoexcept |
|
protecteddefault |
|
protecteddefaultnoexcept |
|
virtualdefaultnoexcept |
|
pure virtualnoexcept |
Gets the maximum depth of the viewport.
Implemented in LiteFX::Rendering::Viewport.
|
pure virtualnoexcept |
Gets the minimum depth of the viewport.
Implemented in LiteFX::Rendering::Viewport.
|
pure virtualnoexcept |
Gets the rectangle that defines the dimensions of the viewport.
Implemented in LiteFX::Rendering::Viewport.
|
pure virtualnoexcept |
Sets the maximum depth of the viewport.
depth | The maximum depth of the viewport. |
Implemented in LiteFX::Rendering::Viewport.
|
pure virtualnoexcept |
Sets the minimum depth of the viewport.
depth | The minimum depth of the viewport. |
Implemented in LiteFX::Rendering::Viewport.
|
pure virtualnoexcept |
Sets the rectangle that defines the dimensions of the viewport.
rectangle | The rectangle that defines the dimensions of the viewport. |
Implemented in LiteFX::Rendering::Viewport.