RenderStateManager.SeparateAlphaBlendEnabled Property |
Language: |
Enables or disables the separate for the alpha channel.
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);
System.Boolean . Set to true to enable separate alpha blend, or false to disable it.
This property is read/write.
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.
Feedback? Please provide us with your comments on this topic.