IDirect3DRMFrame::SetSceneFogEnable

Sets the fog enable state.

HRESULT SetSceneFogEnable(
BOOL bEnable
);

Parameters

bEnable

New fog enable state.

Return Values

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