D3D11_DRAW_INSTANCED_INDIRECT_ARGS Structure

Draw instanced indirect arguments.

Syntax

typedef struct D3D11_DRAW_INSTANCED_INDIRECT_ARGS {
    UINT VertexCountPerInstance;
    UINT InstanceCount;
    UINT StartVertexLocation;
    UINT StartInstanceLocation;
} D3D11_DRAW_INSTANCED_INDIRECT_ARGS;  

Members

VertexCountPerInstance
The number of vertices to draw.

InstanceCount
The number of instances to draw.

StartVertexLocation
The index of the first vertex.

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::DrawInstanced.

This structure is used by the following methods:

Requirements

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