Bez popisu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CommonStructs.cs 911B

123456789101112131415161718192021222324252627
  1. using System;
  2. namespace UnityEngine.Rendering
  3. {
  4. /// <summary>
  5. /// Render Textures clear flag.
  6. /// This is an legacy alias for RTClearFlags.
  7. /// </summary>
  8. [Flags]
  9. public enum ClearFlag
  10. {
  11. /// <summary>Don't clear.</summary>
  12. None = RTClearFlags.None,
  13. /// <summary>Clear the color buffer.</summary>
  14. Color = RTClearFlags.Color,
  15. /// <summary>Clear the depth buffer.</summary>
  16. Depth = RTClearFlags.Depth,
  17. /// <summary>Clear the stencil buffer.</summary>
  18. Stencil = RTClearFlags.Stencil,
  19. /// <summary>Clear the depth and stencil buffers.</summary>
  20. DepthStencil = Depth | Stencil,
  21. /// <summary>Clear the color and stencil buffers.</summary>
  22. ColorStencil = Color | Stencil,
  23. /// <summary>Clear both color, depth and stencil buffers.</summary>
  24. All = Color | Depth | Stencil
  25. }
  26. }