30 lines
744 B
C#
30 lines
744 B
C#
// MonoGame - Copyright (C) The MonoGame Team
|
|
// This file is subject to the terms and conditions defined in
|
|
// file 'LICENSE.txt', which is part of this source code package.
|
|
|
|
using System;
|
|
|
|
namespace Microsoft.Xna.Framework.Graphics
|
|
{
|
|
/// <summary>
|
|
/// Defines the buffers for clearing when calling <see cref="GraphicsDevice.Clear(ClearOptions, Color, float, int)"/> operation.
|
|
/// </summary>
|
|
[Flags]
|
|
public enum ClearOptions
|
|
{
|
|
/// <summary>
|
|
/// Color buffer.
|
|
/// </summary>
|
|
Target = 1,
|
|
/// <summary>
|
|
/// Depth buffer.
|
|
/// </summary>
|
|
DepthBuffer = 2,
|
|
/// <summary>
|
|
/// Stencil buffer.
|
|
/// </summary>
|
|
Stencil = 4
|
|
}
|
|
}
|
|
|