Microsoft DirectX 8.1 (C++)

ID3DXBaseMesh::GetNumVertices

Retrieves the number of vertices in the mesh.

DWORD GetNumVertices();

Parameters

None.

Return Values

Returns the number of vertices in the mesh.

Applies To

This method applies to the following interfaces, which inherit from ID3DXBaseMesh.

Requirements

  Header: Declared in D3dx8mesh.h.
  Import Library: Use D3dx8.lib.