DarkBASIC Professional Help File

DX11 GET MESH VERTEXDATA VERTEX COUNT

Retrieves the number of vertices present in the vertex data of the given mesh.
Note that the vertex data should be locked when calling this function, or it might not return the correct number.

Syntax

    Return Dword = DX11 GET MESH VERTEXDATA VERTEX COUNT(mesh)

Parameters

    mesh

> Dword
> The mesh to get the number of vertices in the vertex data of.

Returns

The number of vertices present in the vertex data of the given mesh.

See also

MESH Functions Menu
DX11 Function Categories