IDirect3DRMMeshBuilder2::GetFace
Retrieves a single face of a Direct3DRMMeshBuilder2 object.
HRESULT GetFace(
DWORD dwIndex,
LPDIRECT3DRMFACE* lplpD3DRMFace
);
Parameters
dwIndex
The index of the mesh face to be retrieved. The face must already be part of a Direct3DRMMeshBuilder2 object.
lplpD3DRMFace
Address of a pointer to an IDirect3DRMFace interface that is filled with an address of the face.
Return Values
Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.