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 (in microsoft.xna.framework.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

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista