Share via


RenderStateManager.FogEnable Property (Microsoft.DirectX.Direct3D)

Enables or disables fog blending.

Definition

Visual Basic Public Property FogEnable As Boolean
C# public bool FogEnable { get; set; }
C++ public:
property bool FogEnable {
        bool get();
        void set(bool value);
}
JScript public function get FogEnable() : boolean
public function set FogEnable(boolean);

Property Value

System.Boolean
Set to true to enable fog blending, or false to disable it.

This property is read/write. 

Remarks

The default value is false.

See Also