SDL_DrawGPUIndexedPrimitivesIndirect

Draws data using bound graphics state with an index buffer enabled and with draw parameters set from a buffer.

The buffer must consist of tightly-packed draw parameter sets that each match the layout of SDL_GPUIndexedIndirectDrawCommand. You must not call this function before binding a graphics pipeline.

extern (C) nothrow @nogc extern
void
SDL_DrawGPUIndexedPrimitivesIndirect

Parameters

render_pass SDL_GPURenderPass*

a render pass handle.

buffer SDL_GPUBuffer*

a buffer containing draw parameters.

offset Uint32

the offset to start reading from the draw buffer.

draw_count Uint32

the number of draw parameter sets that should be read from the draw buffer.

Meta