|
SPARK
0.1.0
A general purpose game engine written in C++.
|
Interface representing a viewport. More...
#include <Viewport.h>
Public Member Functions | |
| virtual math::Rectangle< float > | rectangle () const noexcept=0 |
| Gets the rectangle defining the dimensions of the viewport. | |
| virtual void | setRectangle (const math::Rectangle< float > &rectangle) noexcept=0 |
| Sets the rectangle defining the dimensions of the viewport. | |
| virtual float | minDepth () const noexcept=0 |
| Get the minimum depth of the viewport. | |
| virtual void | setMinDepth (float min_depth) noexcept=0 |
| Sets the minimum depth of the viewport. | |
| virtual float | maxDepth () const noexcept=0 |
| Gets the maximum depth of the viewport. | |
| virtual void | setMaxDepth (float max_depth) noexcept=0 |
| Sets the maximum depth of the viewport. | |
Interface representing a viewport.
|
nodiscardpure virtualnoexcept |
Gets the maximum depth of the viewport.
Implemented in spark::render::Viewport.
|
nodiscardpure virtualnoexcept |
Get the minimum depth of the viewport.
Implemented in spark::render::Viewport.
|
nodiscardpure virtualnoexcept |
Gets the rectangle defining the dimensions of the viewport.
Implemented in spark::render::Viewport.
|
pure virtualnoexcept |
Sets the maximum depth of the viewport.
| max_depth | The new maximum depth of the viewport. |
Implemented in spark::render::Viewport.
|
pure virtualnoexcept |
Sets the minimum depth of the viewport.
| min_depth | The new minimum depth of the viewport. |
Implemented in spark::render::Viewport.
|
pure virtualnoexcept |
Sets the rectangle defining the dimensions of the viewport.
| rectangle | A math::Rectangle<float> representing the new viewport dimensions. |
Implemented in spark::render::Viewport.