using System; namespace UnityEngine.Rendering { /// /// Render Textures clear flag. /// This is an legacy alias for RTClearFlags. /// [Flags] public enum ClearFlag { /// Don't clear. None = RTClearFlags.None, /// Clear the color buffer. Color = RTClearFlags.Color, /// Clear the depth buffer. Depth = RTClearFlags.Depth, /// Clear the stencil buffer. Stencil = RTClearFlags.Stencil, /// Clear the depth and stencil buffers. DepthStencil = Depth | Stencil, /// Clear the color and stencil buffers. ColorStencil = Color | Stencil, /// Clear both color, depth and stencil buffers. All = Color | Depth | Stencil } }