Microsoft DirectX 8.1 (Visual Basic)

D3DXPMesh.GetMinVertices

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

object.GetMinVertices() As Long

Parts

object
Object expression that resolves to a D3DXPMesh object.

Return Values

Returns the minimum 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.