Bagikan melalui


BlendState.ColorBlendFunction Property

Gets or sets the arithmetic operation when blending color values. The default is BlendFunction.Add.

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

Syntax

public BlendFunction ColorBlendFunction { get; set; }

Property Value

A value from the BlendFunction enumeration.

Remarks

For more information about blending, see What Is Color Blending?.

See Also

Reference

BlendState Class
BlendState Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP