GLGETTEXENV
NAMEC SPECIFICATION
PARAMETERS
DESCRIPTION
NOTES
ERRORS
SEE ALSO
NAME
glGetTexEnvfv, glGetTexEnviv − return texture environment parameters
C SPECIFICATION
void glGetTexEnvfv( GLenum target,
GLenum pname, | |
GLfloat *params ) |
void glGetTexEnviv( GLenum target,
GLenum pname, | |
GLint *params ) |
PARAMETERS
target |
Specifies a texture environment. Must be GL_TEXTURE_ENV. | ||
pname |
Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE and GL_TEXTURE_ENV_COLOR. | ||
params |
Returns the requested data. |
DESCRIPTION
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:
GL_TEXTURE_ENV_MODE
params returns the single-valued texture environment mode, a symbolic constant. The initial value is GL_MODULATE.
GL_TEXTURE_ENV_COLOR
params returns four integer 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).
NOTES
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
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
glActiveTextureARB(3G), glTexEnv(3G)
More Linux Commands
manpages/XkbFreeIndicatorMaps.3.html
XkbFreeIndicatorMaps(3) - Frees memory used by the indicator
If the indicators member of the keyboard description record pointed to by xkb is not NULL, XkbFreeIndicatorMaps frees the memory associated with the indicators
manpages/glutShowWindow.3.html
glutShowWindow(3) - change the display status of the current
glutShowWindow will show the current window (though it may still not be visible if obscured by other shown windows). glutHideWindow will hide the current window
manpages/DisplayHeight.3.html
DisplayHeight(3) - image format functions and macros........
The XListPixmapFormats function returns an array of XPixmapFormatValues structures that describe the types of Z format images supported by the specified display
manpages/icpfind.1.html
icpfind(1) - Use heuristic control-point detection strategie
icpfind is a command-line tool to use the various different control point detectors and heuristic control point detector strategies defined in the Hugin Paramet
manpages/fgetwc.3.html
fgetwc(3) - read a wide character from a FILE stream........
The fgetwc() function is the wide-character equivalent of the fgetc(3) function. It reads a wide character from stream and returns it. If the end of stream is r
manpages/Tcl_CreateExitHandler.3.html
Tcl_CreateExitHandler(3) - end the application or thread (an
The procedures described here provide a graceful mechanism to end the execution of a Tcl application. Exit handlers are invoked to cleanup the applications stat
manpages/ldap_unbind_s.3.html
ldap_unbind_s(3) - LDAP bind routines - Linux manual page...
These routines provide various interfaces to the LDAP bind operation. After an association with an LDAP server is made using ldap_init(3), an LDAP bind operatio
manpages/g++-4.8.1.html
g-4.8(1) GNU project C and C compiler - Linux manual page...
When you invoke GCC, it normally does preprocessing, compilation, assembly and linking. The overall options allow you to stop this process at an intermediate st
manpages/xplsprinters.1x.html
xplsprinters(1x) - shows a list of Xprint printers and it's
xplsprinters is a utility for Xprint, the printing system for the X Window system. It can deliver both a list of printers and attributes supported for a specifi
manpages/dn_expand.3.html
dn_expand(3) - resolver routines (Library - Linux man page)
These functions make queries to and interpret the responses from Internet domain name servers. The res_init() function reads the configuration files (see resolv
manpages/pto_gen.1.html
pto_gen(1) Generate a Hugin project file from a list of imag
pto_gen assembles a Hugin .pto project file that is suitable as input for further tools such as the cpfind control-point generator, or for opening with the Hugi
manpages/fbdev.4.html
fbdev(4) - video driver for framebuffer device (Man Page)...
fbdev is an Xorg driver for framebuffer devices. This is a non-accelerated driver, the following framebuffer depths are supported: 8, 15, 16, 24. All visual typ
