logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_GPUBuffer - An opaque handle representing a buffer.

Availability

       This struct is available since SDL 3.2.0.

Description

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

Name

       SDL_GPUBuffer - An opaque handle representing a buffer.

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)

Simple Directmedia Layer                           SDL 3.2.20                               SDL_GPUBuffer(3type)

Synopsis

#include<SDL3/SDL_gpu.h>typedefstructSDL_GPUBufferSDL_GPUBuffer;

See Also