RenderState.DepthMask

RenderState.DepthMask property

Enable or disable the depth writing.

public bool DepthMask { get; set; }

See Also