depthmask.html
来自「计算机图形学~想必是很多人需要的~在此共享一下」· HTML 代码 · 共 59 行
HTML
59 行
<HTML><BODY><PRE> <STRONG>NAME</STRONG> <STRONG>glDepthMask</STRONG> - enable or disable writing into the depth buffer <STRONG>C</STRONG> <STRONG>SPECIFICATION</STRONG> void <STRONG>glDepthMask</STRONG>( GLboolean <EM>flag</EM> ) <STRONG>PARAMETERS</STRONG> <EM>flag</EM> Specifies whether the depth buffer is enabled for writing. If <EM>flag</EM> is <STRONG>GL_FALSE</STRONG>, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled. <STRONG>DESCRIPTION</STRONG> <STRONG>glDepthMask</STRONG> specifies whether the depth buffer is enabled for writing. If <EM>flag</EM> is <STRONG>GL_FALSE</STRONG>, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled. <STRONG>ERRORS</STRONG> <STRONG>GL_INVALID_OPERATION</STRONG> is generated if <STRONG>glDepthMask</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_WRITEMASK</STRONG> <STRONG>SEE</STRONG> <STRONG>ALSO</STRONG> <STRONG>glColorMask</STRONG>, <STRONG>glDepthFunc</STRONG>, <STRONG>glDepthRange</STRONG>, <STRONG>glIndexMask</STRONG>, <STRONG>glStencilMask</STRONG></PRE></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?