Optional depth深度偏移。
用于在深度测试中提供偏移量,以避免Z-fighting和其他深度相关的渲染问题。
Optional depth指定深度比较函数的枚举,该函数设置绘制像素的条件。
默认 LESS,如果传入值小于深度缓冲区值则通过。
A GLenum specifying the depth comparison function, which sets the conditions under which the pixel will be drawn. The default value is gl.LESS.
Optional depth是否写入深度。
Optional depthtest是否开启深度检查,默认 true,开启深度检测。
Generated using TypeDoc
深度状态。