Export (0) Print
Expand All
Expand Minimize

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)

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.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

ADD
Show:
© 2014 Microsoft