D3D12_DRAW_ARGUMENTS structure (d3d12.h)
Describes parameters for drawing instances.
Syntax
typedef struct D3D12_DRAW_ARGUMENTS {
UINT VertexCountPerInstance;
UINT InstanceCount;
UINT StartVertexLocation;
UINT StartInstanceLocation;
} D3D12_DRAW_ARGUMENTS;
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
Requirement | Value |
---|---|
Header | d3d12.h |