#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 946 of file SDL_gpu.h.
The height of the viewport.
Definition at line 951 of file SDL_gpu.h.
◆ max_depth
float SDL_GPUViewport::max_depth |
The maximum depth of the viewport.
Definition at line 953 of file SDL_gpu.h.
◆ min_depth
float SDL_GPUViewport::min_depth |
The minimum depth of the viewport.
Definition at line 952 of file SDL_gpu.h.
The width of the viewport.
Definition at line 950 of file SDL_gpu.h.
The left offset of the viewport.
Definition at line 948 of file SDL_gpu.h.
The top offset of the viewport.
Definition at line 949 of file SDL_gpu.h.
The documentation for this struct was generated from the following file: