#include <SDL_gpu.h>
A structure specifying parameters in a buffer binding call.
- Since
- This struct is available since SDL 3.1.3
- See also
- SDL_BindGPUVertexBuffers
-
SDL_BindGPUIndexBuffer
Definition at line 1988 of file SDL_gpu.h.
◆ buffer
The buffer to bind. Must have been created with SDL_GPU_BUFFERUSAGE_VERTEX for SDL_BindGPUVertexBuffers, or SDL_GPU_BUFFERUSAGE_INDEX for SDL_BindGPUIndexBuffer.
Definition at line 1990 of file SDL_gpu.h.
◆ offset
Uint32 SDL_GPUBufferBinding::offset |
The starting byte of the data to bind in the buffer.
Definition at line 1991 of file SDL_gpu.h.
The documentation for this struct was generated from the following file: