#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 969 of file SDL_gpu.h.
The height of the viewport.
Definition at line 974 of file SDL_gpu.h.
◆ max_depth
float SDL_GPUViewport::max_depth |
The maximum depth of the viewport.
Definition at line 976 of file SDL_gpu.h.
◆ min_depth
float SDL_GPUViewport::min_depth |
The minimum depth of the viewport.
Definition at line 975 of file SDL_gpu.h.
The width of the viewport.
Definition at line 973 of file SDL_gpu.h.
The left offset of the viewport.
Definition at line 971 of file SDL_gpu.h.
The top offset of the viewport.
Definition at line 972 of file SDL_gpu.h.
The documentation for this struct was generated from the following file: