This topic has not yet been rated Rate this topic

ID3D10Device::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

Index of the first index to use when accesssing the vertex buffer; begin at StartIndexLocation to index vertices from the vertex buffer.

BaseVertexLocation [in]

Type: INT

Offset from the start of the vertex buffer to the first vertex.

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

D3D10.h

Library

D3D10.lib

See also

ID3D10Device Interface

 

 

Send comments about this topic to Microsoft

Build date: 9/6/2011

Did you find this helpful?
(2000 characters remaining)
Community Content Add
Annotations FAQ