Compartir a través de


ColorWriteChannels Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

'Declaration
Public Enumeration ColorWriteChannels
public enum ColorWriteChannels

Members

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

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.