#include <SDL_gpu.h>
A structure specifying a viewport.
- Since
- This struct is available since SDL 3.0.0
- See also
- SDL_SetGPUViewport
Definition at line 1093 of file SDL_gpu.h.
The height of the viewport.
Definition at line 1098 of file SDL_gpu.h.
◆ max_depth
float SDL_GPUViewport::max_depth |
The maximum depth of the viewport.
Definition at line 1100 of file SDL_gpu.h.
◆ min_depth
float SDL_GPUViewport::min_depth |
The minimum depth of the viewport.
Definition at line 1099 of file SDL_gpu.h.
The width of the viewport.
Definition at line 1097 of file SDL_gpu.h.
The left offset of the viewport.
Definition at line 1095 of file SDL_gpu.h.
The top offset of the viewport.
Definition at line 1096 of file SDL_gpu.h.
The documentation for this struct was generated from the following file: