table of contents
- testing 3.2.10+ds-1
- unstable 3.2.10+ds-1
- experimental 3.3~git20250806+ds-1
SDL_GPUBuffer(3type) | SDL3 DATATYPES | SDL_GPUBuffer(3type) |
NAME¶
SDL_GPUBuffer - An opaque handle representing a buffer.
SYNOPSIS¶
#include <SDL3/SDL_gpu.h>
typedef struct SDL_GPUBuffer SDL_GPUBuffer;
DESCRIPTION¶
Used for vertices, indices, indirect draw commands, and general compute data.
AVAILABILITY¶
This struct is available since SDL 3.2.0.
SEE ALSO¶
SDL_CreateGPUBuffer(3), SDL_UploadToGPUBuffer(3), SDL_DownloadFromGPUBuffer(3), SDL_CopyGPUBufferToBuffer(3), SDL_BindGPUVertexBuffers(3), SDL_BindGPUIndexBuffer(3), SDL_BindGPUVertexStorageBuffers(3), SDL_BindGPUFragmentStorageBuffers(3), SDL_DrawGPUPrimitivesIndirect(3), SDL_DrawGPUIndexedPrimitivesIndirect(3), SDL_BindGPUComputeStorageBuffers(3), SDL_DispatchGPUComputeIndirect(3), SDL_ReleaseGPUBuffer(3)
SDL 3.3.0 | Simple Directmedia Layer |