Function SDL_BindGPUVertexBuffers
pub unsafe extern "C" fn SDL_BindGPUVertexBuffers(
render_pass: *mut SDL_GPURenderPass,
first_slot: u32,
bindings: *const SDL_GPUBufferBinding,
num_bindings: u32,
)
Available on crate feature
dep_sdl3
only.Expand description
Binds vertex buffers on a command buffer for use with subsequent draw calls.
§Parameters
render_pass
: a render pass handle.first_slot
: the vertex buffer slot to begin binding from.bindings
: an array ofSDL_GPUBufferBinding
structs containing vertex buffers and offset values.num_bindings
: the number of bindings in the bindings array.
§Availability
This function is available since SDL 3.2.0.