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

📄 getpolygonstipple.html

📁 glman函数说明 glman函数说明 glman函数说明
💻 HTML
字号:
<HTML>
<BODY>
<PRE>
     <STRONG>NAME</STRONG>
	  <STRONG>glGetPolygonStipple</STRONG> -	return the polygon stipple pattern


     <STRONG>C</STRONG> <STRONG>SPECIFICATION</STRONG>
	  void <STRONG>glGetPolygonStipple</STRONG>( GLubyte *<EM>mask</EM> )


     <STRONG>PARAMETERS</STRONG>
	  <EM>mask</EM>	Returns	the stipple pattern. The initial value is all
		1's.

     <STRONG>DESCRIPTION</STRONG>
	  <STRONG>glGetPolygonStipple</STRONG> returns to <EM>mask</EM> a	32x32 polygon stipple
	  pattern.  The	pattern	is packed into memory as if
	  <STRONG>glReadPixels</STRONG> with both <EM>height</EM>	and <EM>width</EM> of 32, <EM>type</EM> of
	  <STRONG>GL_BITMAP</STRONG>, and <EM>format</EM>	of <STRONG>GL_COLOR_INDEX</STRONG> were called, and the
	  stipple pattern were stored in an internal 32x32 color index
	  buffer.  Unlike <STRONG>glReadPixels</STRONG>,	however, pixel transfer
	  operations (shift, offset, pixel map)	are not	applied	to the
	  returned stipple image.

     <STRONG>NOTES</STRONG>
	  If an	error is generated, no change is made to the contents
	  of <EM>mask</EM>.

     <STRONG>ERRORS</STRONG>
	  <STRONG>GL_INVALID_OPERATION</STRONG> is generated if <STRONG>glGetPolygonStipple</STRONG> is
	  executed between the execution of <STRONG>glBegin</STRONG> and	the
	  corresponding	execution of <STRONG>glEnd</STRONG>.

     <STRONG>SEE</STRONG> <STRONG>ALSO</STRONG>
	  <STRONG>glPixelStore</STRONG>,	<STRONG>glPixelTransfer</STRONG>, <STRONG>glPolygonStipple</STRONG>,
	  <STRONG>glReadPixels</STRONG>


















</PRE>
</BODY>
</HTML>

⌨️ 快捷键说明

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