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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for