Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

D3D11_DRAW_INSTANCED_INDIRECT_ARGS structure

Arguments for draw instanced indirect.

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.

Requirements

Header

D3d11.h

See also

Core Structures

 

 

Show:
© 2017 Microsoft