IDirect3DRMProgressiveMesh::SetVertexDetail
Sets the requested level of vertex detail.
HRESULT SetVertexDetail(
DWORD dwCount
)
Parameters
dwCount
The number of vertices requested.
Return Values
Returns DD_OK if successful, or one of the following errors:
D3DRMERR_BADPMDATA
D3DRMERR_CONNECTIONLOST
D3DRMERR_INVALIDDATA
D3DRMERR_INVALIDOBJECT
D3DRMERR_INVALIDPARAMS
D3DRMERR_PENDING
D3DRMERR_REQUESTTOOLARGE
Remarks
If not enough detail has been downloaded yet (but will be available), the request will be acknowledged and D3DRMERR_PENDING is returned. This error is informational and simply indicates that the requested level will be set as soon as enough detail is available. If the detail requested is greater that the detail available in the progressive mesh then D3DRMERR_REQUESTTOOLARGE is returned.
See Also