D3D11_DRAW_INDEXED_INSTANCED_INDIRECT_ARGS structure (d3d11.h)
Arguments for draw indexed instanced indirect.
Syntax
typedef struct D3D11_DRAW_INDEXED_INSTANCED_INDIRECT_ARGS {
UINT IndexCountPerInstance;
UINT InstanceCount;
UINT StartIndexLocation;
INT BaseVertexLocation;
UINT StartInstanceLocation;
} D3D11_DRAW_INDEXED_INSTANCED_INDIRECT_ARGS;
Members
IndexCountPerInstance
The number of indices read from the index buffer for each instance.
InstanceCount
The number of instances to draw.
StartIndexLocation
The location of the first index read by the GPU from the index buffer.
BaseVertexLocation
A value added to each index before reading a vertex from the vertex buffer.
StartInstanceLocation
A value added to each index before reading per-instance data from a vertex buffer.
Remarks
The members of this structure serve the same purpose as the parameters of ID3D11DeviceContext::DrawIndexedInstanced.
Requirements
Requirement | Value |
---|---|
Header | d3d11.h |