IDirect3DRMProgressiveMesh::GetVertexDetailRange

Retrieves the minimum and maximum vertex count available in the progressive mesh.


HRESULT GetVertexDetailRange(
LPDWORD lpdwMinVertices,
LPDWORD lpdwMaxVertices
)

Parameters

lpdwMinVertices

Address of a DWORD that will be filled in with the minimum number of vertices.

lpdwMaxVertices

Address of a DWORD that will be filled in with the maximum number of vertices.

Return Values

Returns DD_OK if successful, or one of the following errors:

D3DRMERR_CONNECTIONLOST

D3DRMERR_INVALIDDATA

D3DRMERR_INVALIDOBJECT

D3DRMERR_INVALIDPARAMS

D3DRMERR_PENDING

Remarks

If the vertex count information is not available, this method returns D3DRMERR_PENDING.