IDirect3DRMFrame::GetSceneFogParams

HRESULT GetSceneFogParams(D3DVALUE * lprvStart, D3DVALUE * lprvEnd,

D3DVALUE * lprvDensity);

Retrieves the current fog parameters for this scene.

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

lprvStart, lprvEnd, and lprvDensity

Addresses of variables that will be the fog start, end, and density values.