SDL 3.0
SDL_GPUStorageBufferWriteOnlyBinding Struct Reference

#include <SDL_gpu.h>

Data Fields

SDL_GPUBufferbuffer
 
SDL_bool cycle
 
Uint8 padding1
 
Uint8 padding2
 
Uint8 padding3
 

Detailed Description

A structure specifying parameters related to binding buffers in a compute pass.

Since
This struct is available since SDL 3.0.0
See also
SDL_BeginGPUComputePass

Definition at line 1664 of file SDL_gpu.h.

Field Documentation

◆ buffer

SDL_GPUBuffer* SDL_GPUStorageBufferWriteOnlyBinding::buffer

The buffer to bind. Must have been created with SDL_GPU_BUFFERUSAGE_COMPUTE_STORAGE_WRITE.

Definition at line 1666 of file SDL_gpu.h.

◆ cycle

SDL_bool SDL_GPUStorageBufferWriteOnlyBinding::cycle

SDL_TRUE cycles the buffer if it is already bound.

Definition at line 1667 of file SDL_gpu.h.

◆ padding1

Uint8 SDL_GPUStorageBufferWriteOnlyBinding::padding1

Definition at line 1668 of file SDL_gpu.h.

◆ padding2

Uint8 SDL_GPUStorageBufferWriteOnlyBinding::padding2

Definition at line 1669 of file SDL_gpu.h.

◆ padding3

Uint8 SDL_GPUStorageBufferWriteOnlyBinding::padding3

Definition at line 1670 of file SDL_gpu.h.


The documentation for this struct was generated from the following file: