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