Version: 2022.3
public Rendering.DepthState depthState ;

描述

指定新深度状态。

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.