glClearGLDEPTH
glClearGLDEPTH is not an official OpenGL function. In standard OpenGL, the depth buffer is cleared by calling glClear with the GL_DEPTH_BUFFER_BIT mask, typically as glClear(GL_DEPTH_BUFFER_BIT). The depth buffer stores per-pixel depth values used by the depth test to determine which fragments are visible in the final image.
The depth buffer is associated with the currently bound framebuffer. When a clear is issued for the
Clear operations can target one or multiple buffers. For example, to clear both color and depth buffers
Common usage patterns involve clearing the depth buffer at the start of each new frame or pass,
Notes and pitfalls: the depth buffer must be attached to the currently bound framebuffer, and the depth