IDirect3DRMProgressiveMesh::GetVertexDetail

Retrieves the number of vertices in the progressive mesh.


HRESULT GetVertexDetail(
LPDWORD lpdwCount
)

Parameters

lpdwCount

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

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 number of vertices is not available, this method returns D3DRMERR_PENDING.