#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 1280 of file SDL_gpu.h.
The height of the viewport.
Definition at line 1285 of file SDL_gpu.h.
◆ max_depth
float SDL_GPUViewport::max_depth |
The maximum depth of the viewport.
Definition at line 1287 of file SDL_gpu.h.
◆ min_depth
float SDL_GPUViewport::min_depth |
The minimum depth of the viewport.
Definition at line 1286 of file SDL_gpu.h.
The width of the viewport.
Definition at line 1284 of file SDL_gpu.h.
The left offset of the viewport.
Definition at line 1282 of file SDL_gpu.h.
The top offset of the viewport.
Definition at line 1283 of file SDL_gpu.h.
The documentation for this struct was generated from the following file: