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 |