Contains data for draw indexed instanced indirect with draw ID arguments.
typedef struct D3D11X_DRAW_INDEXED_INSTANCED_INDIRECT_WITH_DRAWID_ARGS {
UINT IndexCountPerInstance;
UINT InstanceCount;
UINT StartIndexLocation;
INT BaseVertexLocation;
UINT StartInstanceLocation;
UINT DrawId;
} D3D11X_DRAW_INDEXED_INSTANCED_INDIRECT_WITH_DRAWID_ARGS;
IndexCountPerInstance
The index count per instance.
InstanceCount
The number of instances.
StartIndexLocation
The start index location.
BaseVertexLocation
The base vertex location.
StartInstanceLocation
The start instance location.
DrawId
The draw ID. This must be specified by the title developer, as any 32-bit value that the developer wants to use. The draw ID should be computed and filled into the structure at the same time that the title developer computes the other fields, such as IndexCountPerInstance and InstanceCount.
This structure is used by the following APIs, when used with the flag D3D11X_MULTI_DRAW_DRAWID_FROM_BUFFER_FOR_ARGS:
This structure is not used with ID3D11DeviceContext::DrawIndexedInstanced.
Header: Declared in d3d11_x.h.