docs.unity3d.com
Search Results for

    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
    Assembly: Unity.RenderPipelines.Universal.Runtime.dll
    Syntax
    public enum CopyDepthMode

    Fields

    Name Description
    AfterOpaques

    Depth will be copied after the opaques pass

    ForcePrepass

    Depth will be written by a depth prepass

    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)