docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)