Contains data for draw instanced indirect with draw ID arguments.
typedef struct D3D11X_DRAW_INSTANCED_INDIRECT_WITH_DRAWID_ARGS {
UINT VertexCountPerInstance;
UINT InstanceCount;
UINT StartVertexLocation;
UINT StartInstanceLocation;
UINT DrawId;
} D3D11X_DRAW_INSTANCED_INDIRECT_WITH_DRAWID_ARGS;
VertexCountPerInstance
The vertex count per instance.
InstanceCount
The number of instances.
StartVertexLocation
The start 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 VertexCountPerInstance 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::DrawInstanced.
Header: Declared in d3d11_x.h.