RenderStateManager.SeparateAlphaBlendEnabled Property

Language:

Note: This documentation is preliminary and is subject to change.

Enables or disables the separate for the alpha channel.

Definition

Visual Basic .NET Public Property SeparateAlphaBlendEnabled As Boolean
C# public bool SeparateAlphaBlendEnabled { get; set; }
Managed C++ public: __property bool get_SeparateAlphaBlendEnabled();
public: __property void set_SeparateAlphaBlendEnabled(bool);
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.