Version: 2022.2

RasterStateConstructor

切换到手册
public RasterState (Rendering.CullMode cullingMode, int offsetUnits, float offsetFactor, bool depthClip);

参数

cullingMode 控制应该剔除多边形的哪些面(不绘制)。
offsetUnits Scales the minimum resolvable depth buffer value in the GPU's depth bias setting.
offsetFactor Scales the maximum Z slope in the GPU's depth bias setting.

描述

创建具有给定值的新光栅状态。