IDirect3DRMMeshBuilder2::AddFace

Adds a face to a Direct3DRMMeshBuilder2 object.

HRESULT AddFace(
LPDIRECT3DRMFACE lpD3DRMFace
);

Parameters

lpD3DRMFace

Address of the face 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.

Remarks

Any one face can exist in only one mesh at a time.