OutlineRenderFlags.cs 743 B

12345678910111213141516171819202122232425262728293031323334
  1. // Copyright (C) 2019-2021 Alexander Bogarsukov. All rights reserved.
  2. // See the LICENSE.md file in the project root for more information.
  3. using System;
  4. namespace UnityFx.Outline
  5. {
  6. /// <summary>
  7. /// Enumerates outline render modes.
  8. /// </summary>
  9. [Flags]
  10. public enum OutlineRenderFlags
  11. {
  12. /// <summary>
  13. /// Outline frame is a solid line.
  14. /// </summary>
  15. None = 0,
  16. /// <summary>
  17. /// Outline frame is blurred.
  18. /// </summary>
  19. Blurred = 1,
  20. /// <summary>
  21. /// Enables depth testing when rendering object outlines. Only visible parts of objects are outlined.
  22. /// </summary>
  23. EnableDepthTesting = 2,
  24. /// <summary>
  25. /// Enabled alpha testing when rendering outlines.
  26. /// </summary>
  27. EnableAlphaTesting = 4
  28. }
  29. }