📄 cleardepth.html
字号:
<HTML><BODY><PRE> <STRONG>NAME</STRONG> <STRONG>glClearDepth</STRONG> - specify the clear value for the depth buffer <STRONG>C</STRONG> <STRONG>SPECIFICATION</STRONG> void <STRONG>glClearDepth</STRONG>( GLclampd <EM>depth</EM> ) <STRONG>PARAMETERS</STRONG> <EM>depth</EM> Specifies the depth value used when the depth buffer is cleared. The initial value is 1. <STRONG>DESCRIPTION</STRONG> <STRONG>glClearDepth</STRONG> specifies the depth value used by <STRONG>glClear</STRONG> to clear the depth buffer. Values specified by <STRONG>glClearDepth</STRONG> are clamped to the range [0,1]. <STRONG>ERRORS</STRONG> <STRONG>GL_INVALID_OPERATION</STRONG> is generated if <STRONG>glClearDepth</STRONG> is executed between the execution of <STRONG>glBegin</STRONG> and the corresponding execution of <STRONG>glEnd</STRONG>. <STRONG>ASSOCIATED</STRONG> <STRONG>GETS</STRONG> <STRONG>glGet</STRONG> with argument <STRONG>GL_DEPTH_CLEAR_VALUE</STRONG> <STRONG>SEE</STRONG> <STRONG>ALSO</STRONG> <STRONG>glClear</STRONG></PRE></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -