glClearDepthf â specify the clear value for the depth buffer
C Specificationvoid glClearDepthf(
GLfloat depth)
;
Â
Parametersdepth
Specifies the depth value used when the depth buffer is cleared. The initial value is 1.
glClearDepthf
specifies the depth value used by glClear to clear the depth buffer. When clearing a fixed-point depth buffer, values specified by glClearDepthf
are clamped to the range 0 1 , and converted to fixed-point. No clamping or conversion is applied when clearing a floating-point depth buffer.
glGet with argument GL_DEPTH_CLEAR_VALUE
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4