IDirect3DRMProgressiveMesh::GetFaceDetailRange

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


HRESULT GetFaceDetailRange(
LPDWORD lpdwMinFaces,
LPDWORD lpdwMaxFaces
)

Parameters

lpdwMinFaces

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

lpdwMaxFaces

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

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 face count is not available, this method returns D3DRMERR_PENDING.