Version: 2022.2
public Rendering.StencilState stencilState ;

描述

指定新模板状态。

Unity applies these values to the GPU's render state if RenderStateBlock.mask includes a value of RenderStateMask.Stencil.

The default value is StencilState.defaultValue.