fna-workbench

fna-workbench Git Source Tree


Root/src/Graphics/ColorWriteChannels.cs

#region License
/* FNA - XNA4 Reimplementation for Desktop Platforms
 * Copyright 2009-2016 Ethan Lee and the MonoGame Team
 *
 * Released under the Microsoft Public License.
 * See LICENSE for details.
 */
#endregion
 
#region Using Statements
using System;
#endregion
 
namespace Microsoft.Xna.Framework.Graphics
{
    /// <summary>
    /// Defines the color channels for render target blending operations.
    /// </summary>
    [Flags]
    public enum ColorWriteChannels
    {
        /// <summary>
        /// No channels selected.
        /// </summary>
        None = 0,
        /// <summary>
        /// Red channel selected.
        /// </summary>
        Red = 1,
        /// <summary>
        /// Green channel selected.
        /// </summary>
        Green = 2,
        /// <summary>
        /// Blue channel selected.
        /// </summary>
        Blue = 4,
        /// <summary>
        /// Alpha channel selected.
        /// </summary>
        Alpha = 8,
        /// <summary>
        /// All channels selected.
        /// </summary>
        All = 15
    }
}

Archive Download this file

Branches

Number of commits:
Page rendered in 0.17799s using 11 queries.