次の方法で共有


RenderState.AlphaBlendOperation Property

Gets or sets the arithmetic operation applied to separate alpha blending. The default is BlendFunction.Add.

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

Syntax

public BlendFunction AlphaBlendOperation { get; set; }

Property Value

A value from the BlendFunction enumeration.

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 operation, see BlendFunction.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista