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

DepthState.writeEnabled

切换到手册
public bool writeEnabled ;

描述

控制是否将此对象的像素写入深度缓冲区。