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.
ID3D11DeviceContext::DrawIndexed method
Draw indexed, non-instanced primitives.
Syntax
void DrawIndexed( [in] UINT IndexCount, [in] UINT StartIndexLocation, [in] INT BaseVertexLocation );
Parameters
- IndexCount [in]
-
Type: UINT
Number of indices to draw.
- StartIndexLocation [in]
-
Type: UINT
The location of the first index read by the GPU from the index buffer.
- BaseVertexLocation [in]
-
Type: INT
A value added to each index before reading a vertex from the vertex buffer.
Return value
Returns nothing.
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
|
Header |
|
|---|---|
|
Library |
|
See also
Show: