Share via


RenderStateManager.SeparateAlphaBlendEnabled Property (Microsoft.DirectX.Direct3D)

Enables or disables the separate for the alpha channel.

Definition

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

Property Value

System.Boolean
Set to true to enable separate alpha blend, or false to disable it.

This property is read/write. 

Remarks

The default value is false.

When set to false, the render target blending factors and operations applied to alpha are forced to be the same as those defined for color. This mode is effectively hard-wired to false on implementations that do not set MiscCaps.SupportsSeparateAlphaBlend.

The type of separate alpha blending is determined by RenderStateManager.AlphaSourceBlend and RenderStateManager.AlphaDestinationBlend.