Expand Minimize
This topic has not yet been rated - Rate this topic

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
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.