IDirect3DRM2::CreateProgressiveMesh

Creates a new progressive mesh object with no faces. The mesh is not visible until it is added to a frame.

HRESULT CreateProgressiveMesh(
LPDIRECT3DRMPROGRESSIVEMESH* lplpD3DRMProgressiveMesh
);

Parameters

lplpD3DRMProgressiveMesh

Address that will be filled with a pointer to an IDirect3DRMProgressiveMesh interface if the call succeeds.

Return Values

Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.