SeparateAlphaBlendEnabled Property
Collapse the table of content
Expand the table of content

RenderState.SeparateAlphaBlendEnabled Property

Enables or disables the separate blend mode for the alpha channel. The default is false.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public bool SeparateAlphaBlendEnabled { get; set; }

Property Value

true to enable the separate blend mode for the alpha channel; false otherwise.

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 don't set SupportsSeparateAlphaBlend to true.

The AlphaSourceBlend and AlphaDestinationBlend render states determine the type of separate alpha blending.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

© 2015 Microsoft