Skip to content

LiteFX::Rendering::IndirectBatch

An indirect batch used to execute an standard draw call.

Synopsis

Declared in <litefx/rendering_api.hpp>

struct [[dllimport, alignas(16), dllexport]] IndirectBatch;

Data Members

NameDescription
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.
FirstVertex The index of the first vertex of the mesh in the vertex buffer.
InstanceCount The number of instances to draw of this mesh.
VertexCount The number of vertices of the mesh.

See Also

IndirectDispatchBatch

IndirectIndexedBatch