Sdílet prostřednictvím


RenderState.AlphaDestinationBlend Property

Gets or sets the separate alpha channel blending factor. This factor represents a destination 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)

Syntax

public Blend AlphaDestinationBlend { get; set; }

Property Value

A value from the Blend enumeration. BothSourceAlpha and BothInverseSourceAlpha are not supported on Xbox 360.

Remarks

This value is ignored unless SeparateAlphaBlendEnabled is true.

Warning

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 destination color, see DestinationBlend.

See Also

Reference

RenderState.DestinationBlend Property
RenderState Class
RenderState Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista