fna-workbench

fna-workbench Git Source Tree


Root/src/Graphics/ClearOptions.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 buffers for clearing when calling <see cref="GraphicsDevice.Clear"/> operation.
    /// </summary>
    [Flags]
    public enum ClearOptions
    {
        /// <summary>
        /// Color buffer.
        /// </summary>
        Target = 1,
        /// <summary>
        /// Depth buffer.
        /// </summary>
        DepthBuffer = 2,
        /// <summary>
        /// Stencil buffer.
        /// </summary>
        Stencil = 4
    }
}

Archive Download this file

Branches

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