?? depthmask.html
字號(hào):
<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>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -