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_INDEXED_INSTANCED_INDIRECT_ARGS structure

Arguments for draw indexed instanced indirect.

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.

Requirements

Header

D3d11.h

See also

Core Structures

 

 

Show:
© 2017 Microsoft