Partager via


BlendState.ColorWriteChannels Property

Gets or sets which color channels (RGBA) are enabled for writing during color blending. The default value is ColorWriteChannels.None.

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

Syntax

public ColorWriteChannels ColorWriteChannels { get; set; }

Property Value

Any value from the ColorWriteChannels enumeration.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP