fglcleardepth.html

来自「计算机图形学~想必是很多人需要的~在此共享一下」· HTML 代码 · 共 59 行

HTML
59
字号
<HTML><BODY><PRE>     <STRONG>NAME</STRONG>	  <STRONG>fglClearDepth</STRONG>	- specify the clear value for the depth	buffer     <STRONG>FORTRAN</STRONG> <STRONG>SPECIFICATION</STRONG>	  SUBROUTINE <STRONG>fglClearDepth</STRONG>( REAL*4 <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>fglClearDepth</STRONG>	specifies the depth value used by <STRONG>fglClear</STRONG> to	  clear	the depth buffer.  Values specified by <STRONG>fglClearDepth</STRONG>	  are clamped to the range [0,1].     <STRONG>ERRORS</STRONG>	  <STRONG>GL_INVALID_OPERATION</STRONG> is generated if <STRONG>fglClearDepth</STRONG> is	  executed between the execution of <STRONG>fglBegin</STRONG> and the	  corresponding	execution of <STRONG>fglEnd</STRONG>.     <STRONG>ASSOCIATED</STRONG>	<STRONG>GETS</STRONG>	  <STRONG>fglGet</STRONG> with argument <STRONG>GL_DEPTH_CLEAR_VALUE</STRONG>     <STRONG>SEE</STRONG> <STRONG>ALSO</STRONG>	  <STRONG>fglClear</STRONG></PRE></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?