docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum DepthFormat

    Dept format options for the depth texture and depth attachment. Each option is marked with all the render paths its compatible with.

    Namespace: UnityEngine.Rendering.Universal
    Assembly: Unity.RenderPipelines.Universal.Runtime.dll
    Syntax
    public enum DepthFormat

    Fields

    Name Description
    Default

    Default format for Android and Switch platforms is D24_UNorm_S8_UInt and D32_SFloat_S8_UInt for other platforms

    Depth_16

    Format containing 16 unsigned normalized bits in depth component. Corresponds to D16_UNorm.

    Depth_16_Stencil_8

    Format containing 16 unsigned normalized bits in depth component and 8 unsigned integer bits in stencil. Corresponds to D16_UNorm_S8_UInt.

    Depth_24

    Format containing 24 unsigned normalized bits in depth component. Corresponds to D24_UNorm.

    Depth_24_Stencil_8

    Format containing 24 unsigned normalized bits in depth component and 8 unsigned integer bits in stencil. Corresponds to D24_UNorm_S8_UInt.

    Depth_32

    Format containing 32 signed float bits in depth component. Corresponds to D32_SFloat.

    Depth_32_Stencil_8

    Format containing 32 signed float bits in depth component and 8 unsigned integer bits in stencil. Corresponds to D32_SFloat_S8_UInt.

    In This Article
    Back to top
    Copyright © 2024 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)