setDepthWrite
Enables or disables depth writing for the material.
When depth writing is enabled, the material will update the depth buffer with its depth values.
Parameters
depthWrite
Whether to enable depth writing. true: enable; false: disable.
Throws
IllegalStateException
If this material is closed or invalid.