D3D11_DRAW_INDEXED_INSTANCED_INDIRECT_ARGS Structure

Draw indexed instanced indirect arguments.

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.

This structure is used by the following methods:

Requirements

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).