Microsoft DirectX 8.1 (Visual Basic)

D3DXPMesh.GetMaxVertices

Retrieves the maximum number of vertices that the progressive mesh supports.

object.GetMaxVertices() As Long

Parts

object
Object expression that resolves to a D3DXPMesh object.

Return Values

Returns the maximum number of vertices supported by the progressive mesh.

Error Codes

If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL.

For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.