Viewport dimensions.
More...
#include <PipelineStateFlags.h>
|
| | Viewport ()=default |
| | Viewport (float x, float y, float width, float height) |
| | Viewport constructor with default depth range of [0, 1].
|
| | Viewport (float x, float y, float width, float height, float minDepth, float maxDepth) |
| | Viewport constructor with parameters for all attributes.
|
| | Viewport (const Extent2D &extent) |
| | Viewport constructor with extent and default depth range of [0, 1].
|
| | Viewport (const Extent2D &extent, float minDepth, float maxDepth) |
| | Viewport constructor with extent and explicit depth range.
|
| | Viewport (const Offset2D &offset, const Extent2D &extent) |
| | Viewport constructor with offset, extent, and default depth range of [0, 1].
|
| | Viewport (const Offset2D &offset, const Extent2D &extent, float minDepth, float maxDepth) |
| | Viewport constructor with offset, extent, and explicit depth range.
|
|
| float | x = 0.0f |
| | Y coordinate of the left-top origin. By default 0.0.
|
| float | y = 0.0f |
| float | width = 0.0f |
| | Width of the right-bottom size. By default 0.0.
|
| float | height = 0.0f |
| | Height of the right-bottom size. By default 0.0.
|
| float | minDepth = 0.0f |
| | Minimum of the depth range. Must be in the range [0, 1]. By default 0.0.
|
| float | maxDepth = 1.0f |
| | Maximum of the depth range. Must be in the range [0, 1]. By default 1.0.
|
◆ Viewport() [1/7]
| LLGL::Viewport::Viewport |
( |
| ) |
|
|
default |
◆ Viewport() [2/7]
| LLGL::Viewport::Viewport |
( |
float | x, |
|
|
float | y, |
|
|
float | width, |
|
|
float | height ) |
|
inline |
Viewport constructor with default depth range of [0, 1].
◆ Viewport() [3/7]
| LLGL::Viewport::Viewport |
( |
float | x, |
|
|
float | y, |
|
|
float | width, |
|
|
float | height, |
|
|
float | minDepth, |
|
|
float | maxDepth ) |
|
inline |
Viewport constructor with parameters for all attributes.
◆ Viewport() [4/7]
| LLGL::Viewport::Viewport |
( |
const Extent2D & | extent | ) |
|
|
inline |
Viewport constructor with extent and default depth range of [0, 1].
◆ Viewport() [5/7]
| LLGL::Viewport::Viewport |
( |
const Extent2D & | extent, |
|
|
float | minDepth, |
|
|
float | maxDepth ) |
|
inline |
Viewport constructor with extent and explicit depth range.
◆ Viewport() [6/7]
Viewport constructor with offset, extent, and default depth range of [0, 1].
◆ Viewport() [7/7]
| LLGL::Viewport::Viewport |
( |
const Offset2D & | offset, |
|
|
const Extent2D & | extent, |
|
|
float | minDepth, |
|
|
float | maxDepth ) |
|
inline |
Viewport constructor with offset, extent, and explicit depth range.
X coordinate of the left-top origin. By default 0.0.
◆ height
| float LLGL::Viewport::height = 0.0f |
Height of the right-bottom size. By default 0.0.
◆ maxDepth
| float LLGL::Viewport::maxDepth = 1.0f |
Maximum of the depth range. Must be in the range [0, 1]. By default 1.0.
◆ minDepth
| float LLGL::Viewport::minDepth = 0.0f |
Minimum of the depth range. Must be in the range [0, 1]. By default 0.0.
◆ width
| float LLGL::Viewport::width = 0.0f |
Width of the right-bottom size. By default 0.0.
| float LLGL::Viewport::x = 0.0f |
Y coordinate of the left-top origin. By default 0.0.
| float LLGL::Viewport::y = 0.0f |
The documentation for this struct was generated from the following file: