#include <SDL_gpu.h>
A structure specifying a viewport.
- Since
- This struct is available since SDL 3.1.3
- See also
- SDL_SetGPUViewport
Definition at line 1136 of file SDL_gpu.h.
The height of the viewport.
Definition at line 1141 of file SDL_gpu.h.
◆ max_depth
float SDL_GPUViewport::max_depth |
The maximum depth of the viewport.
Definition at line 1143 of file SDL_gpu.h.
◆ min_depth
float SDL_GPUViewport::min_depth |
The minimum depth of the viewport.
Definition at line 1142 of file SDL_gpu.h.
The width of the viewport.
Definition at line 1140 of file SDL_gpu.h.
The left offset of the viewport.
Definition at line 1138 of file SDL_gpu.h.
The top offset of the viewport.
Definition at line 1139 of file SDL_gpu.h.
The documentation for this struct was generated from the following file: