Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Draw
Collapse the table of content
Expand the table of content

ID3D10Device::Draw method

Draw non-indexed, non-instanced primitives.

Syntax


void Draw(
  [in] UINT VertexCount,
  [in] UINT StartVertexLocation
);

Parameters

VertexCount [in]

Type: UINT

Number of vertices to draw.

StartVertexLocation [in]

Type: UINT

Index of the first vertex, which is usually an offset in a vertex buffer; it could also be used as the first vertex id generated for a shader parameter marked with the SV_TargetId system-value semantic.

Return value

Returns nothing.

Remarks

A draw API submits work to the rendering pipeline.

The vertex data for a draw call normally comes from a vertex buffer that is bound to the pipeline. However, you could also provide the vertex data from a shader that has vertex data marked with the SV_VertexId system-value semantic.

Requirements

Header

D3D10.h

Library

D3D10.lib

See also

ID3D10Device Interface

 

 

Community Additions

ADD
Show:
© 2015 Microsoft