Microsoft DirectX 8.1 (C++)

ID3DXBaseMesh::GetNumFaces

Retrieves the number of faces in the mesh.

DWORD GetNumFaces();

Parameters

None.

Return Values

Returns the number of faces 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.