ID3D10Device::DrawIndexed method (d3d10.h)
Draw indexed, non-instanced primitives.
Syntax
void DrawIndexed(
[in] UINT IndexCount,
[in] UINT StartIndexLocation,
[in] INT BaseVertexLocation
);
Parameters
[in] IndexCount
Type: UINT
Number of indices to draw.
[in] StartIndexLocation
Type: UINT
Index of the first index to use when accessing the vertex buffer; begin at StartIndexLocation to index vertices from the vertex buffer.
[in] BaseVertexLocation
Type: INT
Offset from the start of the vertex buffer to the first vertex.
Return value
None
Remarks
A draw API submits work to the rendering pipeline.
If the sum of both indices is negative, the result of the function call is undefined.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d10.h |
Library | D3D10.lib |
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