DOKK / manpages / debian 13 / libsdl3-doc / SDL_GPUBuffer.3type.en
SDL_GPUBuffer(3type) SDL3 DATATYPES SDL_GPUBuffer(3type)

SDL_GPUBuffer - An opaque handle representing a buffer.

Defined in SDL3/SDL_gpu.h

#include "SDL3/SDL.h"
typedef struct SDL_GPUBuffer SDL_GPUBuffer;

Used for vertices, indices, indirect draw commands, and general compute data.

This struct is available since SDL 3.2.0.

(3), SDL_CreateGPUBuffer(3), (3), SDL_UploadToGPUBuffer(3), (3), SDL_DownloadFromGPUBuffer(3), (3), SDL_CopyGPUBufferToBuffer(3), (3), SDL_BindGPUVertexBuffers(3), (3), SDL_BindGPUIndexBuffer(3), (3), SDL_BindGPUVertexStorageBuffers(3), (3), SDL_BindGPUFragmentStorageBuffers(3), (3), SDL_DrawGPUPrimitivesIndirect(3), (3), SDL_DrawGPUIndexedPrimitivesIndirect(3), (3), SDL_BindGPUComputeStorageBuffers(3), (3), SDL_DispatchGPUComputeIndirect(3), (3), SDL_ReleaseGPUBuffer(3)

SDL 3.2.10 Simple Directmedia Layer