Skip to content

CF_DrawIndexedIndirectArgs

Category: graphics
GitHub: cute_graphics.h


One indexed indirect draw's arguments, used when the applied mesh has an index buffer.

Struct Members Description
uint32_t index_count Indices to draw per instance.
uint32_t instance_count Instances to draw.
uint32_t first_index Base index within the index buffer.
int32_t vertex_offset Added to each index before fetching the vertex.
uint32_t first_instance First instance ID. Keep 0 for portability.

CF_DrawIndirectArgs
cf_draw_elements_indirect
CF_StorageBuffer