SDL_GPUStorageBufferReadWriteBinding - A structure specifying parameters related to binding buffers in a
Contents
Availability
This struct is available since SDL 3.2.0.
Name
SDL_GPUStorageBufferReadWriteBinding - A structure specifying parameters related to binding buffers in a
compute pass.
See Also
SDL_BeginGPUComputePass(3) Simple Directmedia Layer SDL 3.2.20 SDL_GPUStorageBufferReadWriteBinding(3type)
Synopsis
#include<SDL3/SDL_gpu.h>typedefstructSDL_GPUStorageBufferReadWriteBinding{SDL_GPUBuffer*buffer;/**<Thebuffertobind.MusthavebeencreatedwithSDL_GPU_BUFFERUSAGE_COMPUTE_STORAGE_WRITE.*/boolcycle;/**<truecyclesthebufferifitisalreadybound.*/Uint8padding1;Uint8padding2;Uint8padding3;}SDL_GPUStorageBufferReadWriteBinding;