table of contents
other versions
| SDL_GPUStorageTextureWriteOnlyBinding(3type) | SDL3 DATATYPES | SDL_GPUStorageTextureWriteOnlyBinding(3type) |
NAME¶
SDL_GPUStorageTextureWriteOnlyBinding - A structure specifying parameters related to binding textures in a compute pass.
HEADER FILE¶
Defined in SDL3/SDL_gpu.h
SYNOPSIS¶
#include "SDL3/SDL.h"
typedef struct SDL_GPUStorageTextureWriteOnlyBinding
{
SDL_GPUTexture *texture; /**< The texture to bind. Must have been created with SDL_GPU_TEXTUREUSAGE_COMPUTE_STORAGE_WRITE. */
Uint32 mip_level; /**< The mip level index to bind. */
Uint32 layer; /**< The layer index to bind. */
SDL_bool cycle; /**< SDL_TRUE cycles the texture if it is already bound. */
Uint8 padding1;
Uint8 padding2;
Uint8 padding3;
} SDL_GPUStorageTextureWriteOnlyBinding;
AVAILABILITY¶
This struct is available since SDL 3.0.0
SEE ALSO¶
| SDL 3.1.2 | Simple Directmedia Layer |