SDL_BindGPUVertexStorageBuffers

Binds storage buffers for use on the vertex 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().

extern (C) nothrow @nogc extern
void
SDL_BindGPUVertexStorageBuffers

Parameters

render_pass SDL_GPURenderPass*

a render pass handle.

first_slot Uint32

the vertex storage buffer slot to begin binding from.

storage_buffers const(SDL_GPUBuffer*)*

an array of buffers.

num_bindings Uint32

the number of buffers to bind from the array.

See Also

Meta