ID3D11DeviceContext::DrawIndexed Method

Draw indexed, non-instanced primitives.

Syntax

public:
void DrawIndexed(
         UINT64 StartIndexLocationAndIndexCount,
         INT BaseVertexLocation
)  

Parameters

StartIndexLocationAndIndexCount
Type: UINT64 

[in] The location of the first index read by the GPU from the index buffer, and the number of indices to draw.

BaseVertexLocation
Type: INT 

[in] A value added to each index before reading a vertex from the vertex buffer.

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

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).

Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).

See also

ID3D11DeviceContext

ID3D11DeviceContext Members