This documentation is archived and is not being maintained.

RenderState.AlphaSourceBlend Property

Gets or sets the separate alpha channel blending factor. This factor represents a value by which to multiply the alpha channel only. The default is Blend.One.

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

public Blend AlphaSourceBlend { get; set; }

Property Value

A value from the Blend enumeration.

This value is used for blending the alpha channel only, not for alpha blending of the entire pixel. For setting the blending mode for alpha blending of the source color, see SourceBlend.

This value is ignored unless SeparateAlphaBlendEnabled is true.

Xbox 360, Windows XP SP2, Windows Vista