Bagikan melalui


ColorWriteChannels Enumeration

Defines the color channels that can be chosen for a per-channel write to a render target color buffer.

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

Syntax

[FlagsAttribute]
public enum ColorWriteChannels

Members

  Member name Description
All All buffer channels.
Alpha Alpha channel of a buffer.
Blue Blue channel of a buffer.
Green Green channel of a buffer.
None No channel selected.
Red Red channel of a buffer.

See Also

Reference

BlendState.ColorWriteChannels Property
BlendState.ColorWriteChannels1 Property
BlendState.ColorWriteChannels2 Property
BlendState.ColorWriteChannels3 Property
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP