RenderState.ReferenceAlpha Property
Specifies a reference alpha value against which pixels are tested when alpha testing is enabled. The default value is 0.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public int ReferenceAlpha { get; set; }
Property Value
Integer that specifies the reference alpha value to set or get. This is an 8-bit value placed in the low 8 bits of the DWORD render-state value. Values can range from 0x00000000 through 0x000000FF.
See Also
Reference
RenderState Class
RenderState Members
AlphaTestEnable
AlphaFunction
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista