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

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

glGetTexEnv(3G)

Contents


NAME    [Toc]    [Back]

       glGetTexEnv, glGetTexEnvfv, glGetTexEnviv - return texture
       environment parameters

SYNOPSIS    [Toc]    [Back]

       void glGetTexEnvfv(
               GLenum target,
               GLenum pname,
               GLfloat *params ); void glGetTexEnviv(
               GLenum target,
               GLenum pname,
               GLint *params );

PARAMETERS    [Toc]    [Back]

       Specifies a texture environment. Must  be  GL_TEXTURE_ENV.
       Specifies  the  symbolic  name  of  a  texture environment
       parameter. Accepted  values  are  GL_TEXTURE_ENV_MODE  and
       GL_TEXTURE_ENV_COLOR.  Returns the requested data.

DESCRIPTION    [Toc]    [Back]

       glGetTexEnv()  returns in params selected values of a texture
 environment that was specified with glTexEnv().  target
  specifies  a texture environment. Currently, only one
       texture environment  is  defined  and  supported:  GL_TEXTURE_ENV.


       pname  names  a specific texture environment parameter, as
       follows: params returns the single-valued texture environment
  mode,  a  symbolic  constant.  The  initial value is
       GL_MODULATE.  params returns  four  integer  or  floatingpoint
 values that are the texture environment color. Integer
 values, when requested, are linearly mapped  from  the
       internal  floating-point representation such that 1.0 maps
       to the most positive representable integer, and -1.0  maps
       to  the  most  negative representable integer. The initial
       value is (0, 0, 0, 0).

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,
       glGetTexEnv() returns the texture  environment  parameters
       for the active texture unit.

ERRORS    [Toc]    [Back]

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

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

SEE ALSO    [Toc]    [Back]

      
      
       glActiveTextureARB(3), glTexEnv(3)



                                                  glGetTexEnv(3G)
[ Back ]
 Similar pages
Name OS Title
glTexEnvfv Tru64 set texture environment parameters
glTexEnv Tru64 set texture environment parameters
glTexEnviv Tru64 set texture environment parameters
glTexEnvi Tru64 set texture environment parameters
gltexenv IRIX set texture environment parameters
glTexEnvf Tru64 set texture environment parameters
glGetTexGendfv Tru64 return texture coordinate generation parameters
glGetTexGeniv Tru64 return texture coordinate generation parameters
glgettexgen IRIX return texture coordinate generation parameters
glGetTexGendv Tru64 return texture coordinate generation parameters
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service