AlphaFunction Property
Collapse the table of content
Expand the table of content

RenderState.AlphaFunction Property

Gets or sets the comparison function for the alpha test. The default is CompareFunction.Always.

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

public CompareFunction AlphaFunction { get; set; }

Property Value

A member of the CompareFunction enumeration that represents the comparison function to set or get.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

© 2015 Microsoft