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 |
|
Library |
|
See also