glGetTexEnv man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

glGetTexEnv(3G)						       glGetTexEnv(3G)

       glGetTexEnv,  glGetTexEnvfv, glGetTexEnviv - return texture environment

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

       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

       glGetTexEnv()  returns  in params selected values of a texture environ‐
       ment 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	 inte‐
       ger  or	floating-point	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).

       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.

       GL_INVALID_ENUM is generated if target or  pname	 is  not  an  accepted

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

       glActiveTextureARB(3), glTexEnv(3)


List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net