docs.unity.cn
    Show / Hide Table of Contents

    Enum CopyDepthMode

    Defines if Unity will copy the depth that can be bound in shaders as _CameraDepthTexture after the opaques pass or after the transparents pass.

    Namespace: UnityEngine.Rendering.Universal
    Syntax
    public enum CopyDepthMode

    Fields

    Name Description Value
    AfterOpaques

    Depth will be copied after the opaques pass


    0
    AfterTransparents

    Depth will be copied after the transparents pass


    1
    ForcePrepass

    Depth will be written by a depth prepass


    2
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 07 July 2023