CommonStructs.cs 480 B

123456789101112131415161718192021
  1. using System;
  2. namespace UnityEngine.Rendering
  3. {
  4. /// <summary>
  5. /// Render Textures clear flag.
  6. /// </summary>
  7. [Flags]
  8. public enum ClearFlag
  9. {
  10. /// <summary>Don't clear.</summary>
  11. None = 0,
  12. /// <summary>Clear the color buffer.</summary>
  13. Color = 1,
  14. /// <summary>Clear the depth buffer.</summary>
  15. Depth = 2,
  16. /// <summary>Clear both color and depth buffers.</summary>
  17. All = Depth | Color
  18. }
  19. }