ID3DX10Mesh::GetVertexCount method

Get the number of vertices in the mesh. A mesh may contain multiple vertex buffers (i.e. one vertex buffer may contain all position data, another may contains all texture coordinate data, etc.), however each vertex buffer will contain the same number of elements.

Syntax

UINT GetVertexCount();

Parameters

This method has no parameters.

Return value

Type: UINT

The number of vertices in the mesh.

Requirements

Requirement Value
Header
D3DX10.h
Library
D3DX10.lib

See also

ID3DX10Mesh

D3DX Interfaces