Experimental: this API is experimental and might be changed or removed in the future.

DepthState

struct in UnityEngine.Experimental.Rendering

切换到手册

描述

深度状态的值。

静态变量

Default深度状态的默认值。

变量

compareFunction应如何执行深度测试。
writeEnabled控制是否将此对象的像素写入深度缓冲区。

构造函数

DepthState使用给定值创建新的深度状态。

Did you find this page useful? Please give it a rating: