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

📄 gettexgen.html

📁 计算机图形学~想必是很多人需要的~在此共享一下
💻 HTML
字号:
<HTML><BODY><PRE>     <STRONG>NAME</STRONG>	  <STRONG>glGetTexGendv,</STRONG> <STRONG>glGetTexGenfv,</STRONG>	<STRONG>glGetTexGeniv</STRONG> -	return texture	  coordinate generation	parameters     <STRONG>C</STRONG> <STRONG>SPECIFICATION</STRONG>	  void <STRONG>glGetTexGendv</STRONG>( GLenum <EM>coord</EM>,			      GLenum <EM>pname</EM>,			      GLdouble *<EM>params</EM> )	  void <STRONG>glGetTexGenfv</STRONG>( GLenum <EM>coord</EM>,			      GLenum <EM>pname</EM>,			      GLfloat *<EM>params</EM> )	  void <STRONG>glGetTexGeniv</STRONG>( GLenum <EM>coord</EM>,			      GLenum <EM>pname</EM>,			      GLint *<EM>params</EM> )     <STRONG>PARAMETERS</STRONG>	  <EM>coord</EM>	  Specifies a texture coordinate.  Must	be <STRONG>GL_S</STRONG>, <STRONG>GL_T</STRONG>,		  <STRONG>GL_R</STRONG>,	or <STRONG>GL_Q</STRONG>.	  <EM>pname</EM>	  Specifies the	symbolic name of the value(s) to be		  returned.  Must be either <STRONG>GL_TEXTURE_GEN_MODE</STRONG>	or the		  name of one of the texture generation	plane		  equations:  <STRONG>GL_OBJECT_PLANE</STRONG> or <STRONG>GL_EYE_PLANE</STRONG>.	  <EM>params</EM>  Returns the requested	data.     <STRONG>DESCRIPTION</STRONG>	  <STRONG>glGetTexGen</STRONG> returns in <EM>params</EM>	selected parameters of a	  texture coordinate generation	function that was specified	  using	<STRONG>glTexGen</STRONG>.  <EM>coord</EM> names one of the (<EM>s</EM>, <EM>t</EM>, <EM>r</EM>, <EM>q</EM>) texture	  coordinates, using the symbolic constant <STRONG>GL_S</STRONG>, <STRONG>GL_T</STRONG>, <STRONG>GL_R</STRONG>,	  or <STRONG>GL_Q</STRONG>.	  <EM>pname</EM>	specifies one of three symbolic	names:	  <STRONG>GL_TEXTURE_GEN_MODE</STRONG>	      <EM>params</EM> returns the single-valued				      texture generation function, a				      symbolic constant. The initial				      value is <STRONG>GL_EYE_LINEAR</STRONG>.	  <STRONG>GL_OBJECT_PLANE</STRONG>	      <EM>params</EM> returns the four plane				      equation coefficients that				      specify object linear-coordinate				      generation.  Integer values,				      when requested, are mapped				      directly from the	internal				      floating-point representation.	  <STRONG>GL_EYE_PLANE</STRONG>		      <EM>params</EM> returns the four plane				      equation coefficients that				      specify eye linear-coordinate				      generation.  Integer values,				      when requested, are mapped				      directly from the	internal				      floating-point representation.				      The returned values are those				      maintained in eye	coordinates.				      They are not equal to the	values				      specified	using <STRONG>glTexGen</STRONG>,	unless				      the modelview matrix was				      identity when <STRONG>glTexGen</STRONG> was				      called.     <STRONG>NOTES</STRONG>	  If an	error is generated, no change is made to the contents	  of <EM>params</EM>.     <STRONG>ERRORS</STRONG>	  <STRONG>GL_INVALID_ENUM</STRONG> is generated if <EM>coord</EM>	or <EM>pname</EM> is not	an	  accepted value.	  <STRONG>GL_INVALID_OPERATION</STRONG> is generated if <STRONG>glGetTexGen</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>glTexGen</STRONG></PRE></BODY></HTML>

⌨️ 快捷键说明

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