IDirect3DRMFrame::SetSceneFogMode

HRESULT SetSceneFogMode(D3DRMFOGMODE rfMode);

Sets the fog mode.

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

rfMode

One of the members of the D3DRMFOGMODE enumerated type, specifying the new fog mode.