AlphaTestEffect.AlphaFunction Property

Gets or sets the compare function for alpha test. The default value is Greater.

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

Syntax

public CompareFunction AlphaFunction { get; set; }

Property Value

The comparison function.

See Also

Reference

AlphaTestEffect Class
AlphaTestEffect Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP