Depth-buffer Test
The depth-buffer test discards a fragment if a depth comparison fails; glDepthFunc specifies the comparison function. If stenciling is enabled, the result of the depth comparison also affects the stencil buffer update value.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The depth-buffer test discards a fragment if a depth comparison fails; glDepthFunc specifies the comparison function. If stenciling is enabled, the result of the depth comparison also affects the stencil buffer update value.