Share via


RenderStateManager.ReferenceAlpha Property (Microsoft.DirectX.Direct3D)

Specifies a reference alpha value against which pixels are tested when alpha testing is enabled.

Definition

Visual Basic Public Property ReferenceAlpha As Integer
C# public int ReferenceAlpha { get; set; }
C++ public:
property int ReferenceAlpha {
        int get();
        void set(int value);
}
JScript public function get ReferenceAlpha() : int
public function set ReferenceAlpha(int);

Property Value

System.Int32
Integer that specifies the reference alpha value to set or retrieve.

This property is read/write. 

Remarks

The default value is 0.

Values can range from 0x00000000 to 0x000000FF.