TSdlGpuViewport
A record specifying a viewport.
Definition
Unit: Neslib.Sdl3.Gpu
See Also
Fields
Name | Description |
---|---|
H | The height of the viewport. |
MaxDepth | The maximum depth of the viewport. |
MinDepth | The minimum depth of the viewport. |
W | The width of the viewport. |
X | The left offset of the viewport. |
Y | The top offset of the viewport. |
Field Descriptions
H
The height of the viewport.
var H: Single
Type: Single
MaxDepth
The maximum depth of the viewport.
var MaxDepth: Single
Type: Single
MinDepth
The minimum depth of the viewport.
var MinDepth: Single
Type: Single
W
The width of the viewport.
var W: Single
Type: Single
X
The left offset of the viewport.
var X: Single
Type: Single
Y
The top offset of the viewport.
var Y: Single
Type: Single