setDepthWrite method
Sets whether fragments that pass the depth test write their depth. Meaningful only against a depth attachment that is not read-only.
Implementation
@override
void setDepthWrite({required bool enabled}) {
depthWrite = enabled;
commands.add(RecordedDepthWrite(enabled));
}