暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }