IDirect3DRMMeshBuilder::SetColor

HRESULT SetColor(D3DCOLOR color);

Sets all the faces of a Direct3DRMMeshBuilder object to a given color.

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

color

Color of the faces.