Show More
Commit Description:
Tidy code.
Commit Description:
Tidy code.
References:
File last commit:
Show/Diff file:
Action:
FNA/src/Graphics/ClearOptions.cs
35 lines | 694 B | text/x-csharp | CSharpLexer
35 lines | 694 B | text/x-csharp | CSharpLexer
r0 | #region License | |||
/* FNA - XNA4 Reimplementation for Desktop Platforms | ||||
* Copyright 2009-2020 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 | ||||
} | ||||
} | ||||