Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > eee00533ac83fd7ebbf9846dc6d3b77b > files > 103

Io-language-graphics-and-sound-20080330-6.fc15.i686.rpm

<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>