#include <CeresEngine/RenderAPI/GPUGraphicsPipeline.hpp>
|
| | Viewport () noexcept=default |
| |
| | Viewport (const Viewport &) noexcept=default |
| |
| Viewport & | operator= (const Viewport &) noexcept=default |
| |
| | Viewport (const float x, const float y, const float width, const float height) noexcept |
| | Viewport constructor with default depth range of [0, 1].
|
| |
| | Viewport (const float x, const float y, const float width, const float height, const float minDepth, const float maxDepth) noexcept |
| | Viewport constructor with parameters for all attributes.
|
| |
| | Viewport (const TOffset2< float > &offset, const TExtent2< float > &extent) noexcept |
| | Viewport constructor with offset, extent, and default depth range of [0, 1].
|
| |
| | Viewport (const TExtent2< float > &extent) noexcept |
| | Viewport constructor with offset, extent, and default depth range of [0, 1].
|
| |
| | Viewport (const TExtent2< UInt32 > &extent) noexcept |
| | Viewport constructor with offset, extent, and default depth range of [0, 1].
|
| |
| | Viewport (const TOffset2< float > &offset, const TExtent2< float > &extent, const float minDepth, const float maxDepth) noexcept |
| | Viewport constructor with offset, extent, and explicit depth range.
|
| |
◆ Viewport() [1/8]
| CeresEngine::Viewport::Viewport |
( |
| ) |
|
|
defaultnoexcept |
◆ Viewport() [2/8]
◆ Viewport() [3/8]
Viewport constructor with default depth range of [0, 1].
◆ Viewport() [4/8]
Viewport constructor with parameters for all attributes.
◆ Viewport() [5/8]
| CeresEngine::Viewport::Viewport |
( |
const TOffset2< float > & |
offset, |
|
|
const TExtent2< float > & |
extent |
|
) |
| |
|
inlinenoexcept |
Viewport constructor with offset, extent, and default depth range of [0, 1].
◆ Viewport() [6/8]
| CeresEngine::Viewport::Viewport |
( |
const TExtent2< float > & |
extent | ) |
|
|
inlinenoexcept |
Viewport constructor with offset, extent, and default depth range of [0, 1].
◆ Viewport() [7/8]
| CeresEngine::Viewport::Viewport |
( |
const TExtent2< UInt32 > & |
extent | ) |
|
|
inlinenoexcept |
Viewport constructor with offset, extent, and default depth range of [0, 1].
◆ Viewport() [8/8]
Viewport constructor with offset, extent, and explicit depth range.
◆ operator=()
◆ reflect()
Executes the given processor for every field of the struct.
- Parameters
-
| RTTI | The processor to be ran for every field. |
◆ extent
| TExtent2<float> CeresEngine::Viewport::extent |
The viewport size.
By Default (0.0, 0.0).
◆ maxDepth
| float CeresEngine::Viewport::maxDepth = 1.0 |
Maximum of the depth range.
Must be in the range [0, 1]. By default 1.0.
◆ minDepth
| float CeresEngine::Viewport::minDepth = 0.0 |
Minimum of the depth range.
Must be in the range [0, 1]. By default 0.0.
◆ origin
| TOffset2<float> CeresEngine::Viewport::origin |
The viewport origin. By default (0.0, 0.0).
The documentation for this struct was generated from the following file: