GraphicsDeviceCapabilities.PrimitiveCaps.SupportsFogAndSpecularAlpha Property

Gets a value indicating whether the driver supports separate fog and specular alpha.

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

Syntax

public bool SupportsFogAndSpecularAlpha { get; }

Property Value

true if the driver supports separate fog and specular alpha; false otherwise.

Remarks

Many devices use the specular alpha channel to store the fog factor.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista