Enum RenderPipelineSettings.DepthBufferFormat
Depth Buffer format.
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
public enum RenderPipelineSettings.DepthBufferFormat
Fields
| Name | Description |
|---|---|
| Auto | Automatically switch between 32 and 24 bit depth depending on the platform. |
| ForceD16 | Forces HDRP to use 16 bit depth + 8 bit stencil buffer. Improves performances of depth related effects but can cause Z-Fighting due to the low precision. |
| ForceD24 | Forces HDRP to use 24 bit depth + 8 bit stencil buffer |
| ForceD32 | Forces HDRP to use 32 bit depth + 8 bit stencil buffer |