IDirect3DRMMeshBuilder::AddMesh

Adds a mesh to a Direct3DRMMeshBuilder object.

HRESULT AddMesh(
LPDIRECT3DRMMESH lpD3DRMMesh
);

Parameters

lpD3DRMMesh

Address of the mesh being added.

Return Values

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