Share via


RenderStateManager.AlphaBlendEnable Property (Microsoft.DirectX.Direct3D)

Retrieves or sets a value to enable alpha-blended transparency.

Definition

Visual Basic Public Property AlphaBlendEnable As Boolean
C# public bool AlphaBlendEnable { get; set; }
C++ public:
property bool AlphaBlendEnable {
        bool get();
        void set(bool value);
}
JScript public function get AlphaBlendEnable() : boolean
public function set AlphaBlendEnable(boolean);

Property Value

System.Boolean
Set to true to enable alpha-blended transparency, or false to disable it.

This property is read/write. 

Remarks

The default value is false. The type of alpha blending is determined by the RenderStateManager.SourceBlend and RenderStateManager.DestinationBlend render states.