pub unsafe extern "C" fn SDL_BindGPUFragmentStorageBuffers(
render_pass: *mut SDL_GPURenderPass,
first_slot: Uint32,
storage_buffers: *const *mut SDL_GPUBuffer,
num_bindings: Uint32,
)Expand description
Binds storage buffers for use on the fragment shader.
These buffers must have been created with
SDL_GPU_BUFFERUSAGE_GRAPHICS_STORAGE_READ.
Be sure your shader is set up according to the requirements documented in
SDL_CreateGPUShader().
§Parameters
render_pass: a render pass handle.first_slot: the fragment storage buffer slot to begin binding from.storage_buffers: an array of storage buffers.num_bindings: the number of storage buffers to bind from the array.
§Availability
This function is available since SDL 3.2.0.