DepthBits.cs 578 B

1234567891011121314151617181920
  1. namespace UnityEngine.Rendering
  2. {
  3. /// <summary>
  4. /// Bit depths of a Depth render texture.
  5. /// Some values may not be supported on all platforms.
  6. /// </summary>
  7. public enum DepthBits
  8. {
  9. /// <summary>No Depth Buffer.</summary>
  10. None = 0,
  11. /// <summary>8 bits Depth Buffer.</summary>
  12. Depth8 = 8,
  13. /// <summary>16 bits Depth Buffer.</summary>
  14. Depth16 = 16,
  15. /// <summary>24 bits Depth Buffer.</summary>
  16. Depth24 = 24,
  17. /// <summary>32 bits Depth Buffer.</summary>
  18. Depth32 = 32
  19. }
  20. }