Share via


FogMode Enumeration

Defines constants that describe the fog mode.

Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

Syntax

'Declaration
Public Enumeration FogMode
'Usage
Dim instance As FogMode
public enum FogMode
public enum class FogMode
public enum FogMode
public enum FogMode

Members

  Member name Description
Supported by the .NET Compact Framework Exp Fog effect intensifies exponentially. 
Supported by the .NET Compact Framework Exp2 Fog effect intensifies exponentially with the square of the distance. 
Supported by the .NET Compact Framework Linear Fog effect intensifies in a linear manner between the start and end points. 
Supported by the .NET Compact Framework None No fog effect. 

Remarks

This enumeration is used by the FogTableMode and FogVertexMode properties. Fog can be considered a measure of visibility. The lower the fog value produced by a fog equation, the less visible an object is.

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

Microsoft.WindowsMobile.DirectX.Direct3D Namespace

Other Resources

Direct3D Programming