Share via


GraphicsDeviceCapabilities.RasterCaps.SupportsWFog Property

Gets a value indicating whether the device supports w-based fog.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public bool SupportsWFog { get; }

Property Value

true if the device supports w-based fog; false otherwise.

Remarks

W-based fog is used when a perspective projection matrix is specified, but affine projections still use z-based fog. The system considers a projection matrix that contains a nonzero value in the [3][4] element to be a perspective projection matrix.

See Also

Reference

GraphicsDeviceCapabilities.RasterCaps Structure
GraphicsDeviceCapabilities.RasterCaps Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista