Vireo  0.0
Vireo 3D Rendering Hardware Interface
DrawIndexedIndirectCommand Struct Reference

Detailed Description

GPU-side structure for an indirect indexed draw call. Mirror of VkDrawIndexedIndirectCommand / D3D12_DRAW_INDEXED_ARGUMENTS.

Lua full name: vireo.DrawIndexedIndirectCommand

Properties

integer index_count
 Number of indices to draw per instance.
 
integer instance_count
 Number of instances to draw.
 
integer first_index
 Base offset (in indices) into the index buffer.
 
integer vertex_offset
 Value added to each index before reading a vertex from the vertex buffer.
 
integer first_instance
 Instance ID of the first instance.
 

Property Documentation

integer index_count

Number of indices to draw per instance.

integer instance_count

Number of instances to draw.

integer first_index

Base offset (in indices) into the index buffer.

integer vertex_offset

Value added to each index before reading a vertex from the vertex buffer.

integer first_instance

Instance ID of the first instance.