IDirect3DRMFrame::SetMaterialMode
HRESULT SetMaterialMode(D3DRMMATERIALMODE rmmMode);
Sets the material mode for a frame. The material mode determines the source of material information for visuals rendered with the frame.
·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.
rmmMode
One of the members of the D3DRMMATERIALMODE enumerated type.