table of contents
GLCLIENTACTIVETEXTUR(3G) | OpenGL Manual | GLCLIENTACTIVETEXTUR(3G) |
NAME¶
glClientActiveTexture - select active texture unit
C SPECIFICATION¶
void glClientActiveTexture(GLenum texture);
PARAMETERS¶
texture
DESCRIPTION¶
glClientActiveTexture selects the vertex array client state parameters to be modified by glTexCoordPointer(), and enabled or disabled with glEnableClientState() or glDisableClientState(), respectively, when called with a parameter of GL_TEXTURE_COORD_ARRAY.
NOTES¶
glClientActiveTexture is supported only if the GL version is 1.3 or greater, or ARB_multitexture is included in the string returned by glGetString() when called with the argument GL_EXTENSIONS.
ERRORS¶
GL_INVALID_ENUM is generated if texture is not one of GL_TEXTUREi, where i ranges from 0 to the value of GL_MAX_TEXTURE_COORDS - 1.
ASSOCIATED GETS¶
glGet() with argument GL_CLIENT_ACTIVE_TEXTURE or GL_MAX_TEXTURE_COORDS
SEE ALSO¶
glActiveTexture(), glDisableClientState(), glEnableClientState(), glMultiTexCoord(), glTexCoordPointer()
COPYRIGHT¶
Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.
AUTHORS¶
opengl.org
05/02/2014 | opengl.org |