Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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

© 2015 Microsoft