D3D12_DRAW_ARGUMENTS structure

Describes parameters for drawing instances.

Syntax

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

Members

VertexCountPerInstance

Specifies the number of vertices to draw, per instance.

InstanceCount

Specifies the number of instances.

StartVertexLocation

Specifies an index to the first vertex to start drawing from.

StartInstanceLocation

Specifies an index to the first instance to start drawing from.

Remarks

The members of this structure serve the same purpose as the parameters of DrawInstanced.

Requirements

   
Header d3d12.h

See Also

Core Structures