LiteFX::Rendering::IndirectIndexedBatch¶
An indirect batch used to execute an indexed draw call.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
struct [[dllimport, alignas(16), dllexport]] IndirectIndexedBatch;
Data Members¶
| Name | Description |
|---|---|
FirstIndex | The first index in the index buffer used to draw the mesh. |
FirstInstance | The index of the first index to draw. This value is added to each instance index before obtaining per-instance data from the vertex buffer. |
IndexCount | The number of indices in the mesh index buffer. |
InstanceCount | The number of instances to draw of this mesh. |
VertexOffset | An offset added to each index to obtain a vertex. |
See Also¶
IndirectDispatchBatch
IndirectBatch