#include <SDL_gpu.h>
A structure specifying parameters in a buffer binding call.
- Since
- This struct is available since SDL 3.2.0.
- See also
- SDL_BindGPUVertexBuffers
-
SDL_BindGPUIndexBuffer
Definition at line 2020 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 2022 of file SDL_gpu.h.
◆ offset
Uint32 SDL_GPUBufferBinding::offset |
The starting byte of the data to bind in the buffer.
Definition at line 2023 of file SDL_gpu.h.
The documentation for this struct was generated from the following file: