⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 indexmask.html

📁 计算机图形学~想必是很多人需要的~在此共享一下
💻 HTML
字号:
<HTML><BODY><PRE>     <STRONG>NAME</STRONG>	  <STRONG>glIndexMask</STRONG> -	control	the writing of individual bits in the	  color	index buffers     <STRONG>C</STRONG> <STRONG>SPECIFICATION</STRONG>	  void <STRONG>glIndexMask</STRONG>( GLuint <EM>mask</EM>	)     <STRONG>PARAMETERS</STRONG>	  <EM>mask</EM>	Specifies a bit	mask to	enable and disable the writing		of individual bits in the color	index buffers.		Initially, the mask is all 1's.     <STRONG>DESCRIPTION</STRONG>	  <STRONG>glIndexMask</STRONG> controls the writing of individual bits in the	  color	index buffers.	The least significant n	bits of	<EM>mask</EM>,	  where	n is the number	of bits	in a color index buffer,	  specify a mask.  Where a 1 (one) appears in the mask,	it's	  possible to write to the corresponding bit in	the color	  index	buffer (or buffers). Where a 0 (zero) appears, the	  corresponding	bit is write-protected.	  This mask is used only in color index	mode, and it affects	  only the buffers currently selected for writing (see	  <STRONG>glDrawBuffer</STRONG>).  Initially, all bits are enabled for writing.     <STRONG>ERRORS</STRONG>	  <STRONG>GL_INVALID_OPERATION</STRONG> is generated if <STRONG>glIndexMask</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_INDEX_WRITEMASK</STRONG>     <STRONG>SEE</STRONG> <STRONG>ALSO</STRONG>	  <STRONG>glColorMask</STRONG>, <STRONG>glDepthMask</STRONG>, <STRONG>glDrawBuffer</STRONG>, <STRONG>glIndex</STRONG>,	  <STRONG>glIndexPointer</STRONG>, <STRONG>glStencilMask</STRONG></PRE></BODY></HTML>

⌨️ 快捷键说明

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