*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> glGetTexGendv (3)              
Title
Content
Arch
Section
 

glGetTexGen(3G)

Contents


NAME    [Toc]    [Back]

       glGetTexGen,  glGetTexGendv, glGetTexGendfv, glGetTexGeniv
       - return texture coordinate generation parameters

SYNOPSIS    [Toc]    [Back]

       void glGetTexGendv(
               GLenum coord,
               GLenum pname,
               GLdouble *params ); void glGetTexGenfv(
               GLenum coord,
               GLenum pname,
               GLfloat *params ); void glGetTexGeniv(
               GLenum coord,
               GLenum pname,
               GLint *params );

PARAMETERS    [Toc]    [Back]

       Specifies a texture coordinate. Must be GL_S, GL_T,  GL_R,
       or  GL_Q.   Specifies the symbolic name of the value(s) to
       be returned. Must be  either  GL_TEXTURE_GEN_MODE  or  the
       name  of  one  of  the texture generation plane equations:
       GL_OBJECT_PLANE or GL_EYE_PLANE.   Returns  the  requested
       data.

DESCRIPTION    [Toc]    [Back]

       glGetTexGen()  returns  in params selected parameters of a
       texture coordinate generation function that was  specified
       using  glTexGen().   coord  names  one of the (s, t, r, q)
       texture coordinates, using  the  symbolic  constant  GL_S,
       GL_T, GL_R, or GL_Q.

       pname  specifies  one  of  three  symbolic  names:  params
       returns the single-valued texture generation  function,  a
       symbolic  constant.  The  initial  value is GL_EYE_LINEAR.
       params 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.   params  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 glTexGen(), unless the modelview matrix was identity
       when glTexGen() was called.

NOTES    [Toc]    [Back]

       If an error is generated, no change is made  to  the  contents
 of params.

       When   the  GL_ARB_multitexture  extension  is  supported,
       glGetTexGen() returns the  texture  coordinate  generation
       parameters for the active texture unit.

ERRORS    [Toc]    [Back]

       GL_INVALID_ENUM  is  generated if coord or pname is not an
       accepted value.

       GL_INVALID_OPERATION is generated if glGetTexGen() is executed
  between  the  execution of glBegin() and the corresponding
 execution of glEnd().

SEE ALSO    [Toc]    [Back]

      
      
       glActiveTextureARB(3), glTexGen(3)



                                                  glGetTexGen(3G)
[ Back ]
 Similar pages
Name OS Title
glGetTexEnvfv Tru64 return texture environment parameters
glGetTexEnv Tru64 return texture environment parameters
glGetTexEnviv Tru64 return texture environment parameters
glgettexenv IRIX return texture environment parameters
t IRIX specifies a texture coordinate tuple
glTexGendv Tru64 control the generation of texture coordinates
gltexgen IRIX control the generation of texture coordinates
glTexGeniv Tru64 control the generation of texture coordinates
glTexGenf Tru64 control the generation of texture coordinates
glTexGenfv Tru64 control the generation of texture coordinates
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service