depthState
Specifies the new depth state.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Property
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public DepthState depthState { get; set; }
Remarks
Unity applies these values to the GPU's render state if RenderStateBlock.mask includes a value of RenderStateMask.Depth.
The default value is DepthState.defaultValue.