Singularity/Library/PackageCache/com.unity.render-pipelines..../Runtime/Textures/DepthBits.cs
2024-05-06 11:45:45 -07:00

21 lines
578 B
C#

namespace UnityEngine.Rendering
{
/// <summary>
/// Bit depths of a Depth render texture.
/// Some values may not be supported on all platforms.
/// </summary>
public enum DepthBits
{
/// <summary>No Depth Buffer.</summary>
None = 0,
/// <summary>8 bits Depth Buffer.</summary>
Depth8 = 8,
/// <summary>16 bits Depth Buffer.</summary>
Depth16 = 16,
/// <summary>24 bits Depth Buffer.</summary>
Depth24 = 24,
/// <summary>32 bits Depth Buffer.</summary>
Depth32 = 32
}
}