IDirect3DRMMeshBuilder2::CreateMesh

Creates a new mesh from a Direct3DRMMeshBuilder2 object.

HRESULT CreateMesh(
LPDIRECT3DRMMESH* lplpD3DRMMesh
);

Parameters

lplpD3DRMMesh

Address that will be filled with a pointer to an IDirect3DRMMesh interface.

Return Values

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