SDL_GPUStorageTextureReadWriteBinding - A structure specifying parameters related to binding textures in
Contents
Availability
This struct is available since SDL 3.2.0.
Header File
Defined in SDL3/SDL_gpu.h
Name
SDL_GPUStorageTextureReadWriteBinding - A structure specifying parameters related to binding textures in
a compute pass.
See Also
•(3), SDL_BeginGPUComputePass(3) Simple Directmedia Layer SDL 3.2.10 SDL_GPUStorageTextureReadWriteBinding(3type)
Synopsis
#include"SDL3/SDL.h"typedefstructSDL_GPUStorageTextureReadWriteBinding{SDL_GPUTexture*texture;/**<Thetexturetobind.MusthavebeencreatedwithSDL_GPU_TEXTUREUSAGE_COMPUTE_STORAGE_WRITEorSDL_GPU_TEXTUREUSAGE_COMPUTE_STORAGE_SIMULTANEOUS_READ_WRITE.*/Uint32mip_level;/**<Themiplevelindextobind.*/Uint32layer;/**<Thelayerindextobind.*/boolcycle;/**<truecyclesthetextureifitisalreadybound.*/Uint8padding1;Uint8padding2;Uint8padding3;}SDL_GPUStorageTextureReadWriteBinding;