SDL_BindGPUVertexBuffers

Binds vertex buffers on a command buffer for use with subsequent draw calls.

extern (C) nothrow @nogc extern
void
SDL_BindGPUVertexBuffers

Parameters

render_pass SDL_GPURenderPass*

a render pass handle.

first_slot Uint32

the vertex buffer slot to begin binding from.

bindings const(SDL_GPUBufferBinding)*

an array of SDL_GPUBufferBinding structs containing vertex buffers and offset values.

num_bindings Uint32

the number of bindings in the bindings array.

Meta