GLCLIENTACTIVETEXTURE(3gl)GLCLIENTACTIVETEXTURE(3gl)NAME
glClientActiveTexture - select active texture unit
glClientActiveTextureARB - select active texture unit
C SPECIFICATION
void glClientActiveTexture( GLenum texture )
void glClientActiveTextureARB( GLenum texture )
PARAMETERS
texture Specifies which texture unit to make active. The number of
texture units is implementation dependent, but must be
atlease two. texture must be one of GL_TEXTUREi, where
0<=i<GL_MAX_TEXTURE_UNITS, which is an implementation-depen‐
dent value. The initial value is GL_TEXTURE0.
DESCRIPTION
glClientActiveTexture selects the vertex array client state parameters
to be modified by glTexCoordPointer, and enabled or disabled with glEn‐
ableClientState or glDisableClientState, respectively, when called with
a parameter of GL_TEXTURE_COORD_ARRAY.
NOTES
glClientActiveTexture is functionally equivalent to glClientActiveTex‐
tureARB.
glClientActiveTexture is supported only if the GL version is 1.3 or
greater.
glClientActiveTextureARB is only available if GL_ARB_multitexture is
included in the string returned by glGetString, when called with argu‐
ment GL_EXTENSIONS.
glClientActiveTexture sets GL_CLIENT_ACTIVE_TEXTURE to the active tex‐
ture unit.
ERRORS
GL_INVALID_ENUM is generated if texture is not one of GL_TEXTUREi,
where 0<=i<GL_MAX_TEXTURE_UNITS.
SEE ALSO
glActiveTexture, glDisableClientState, glEnableClientState, glMultiTex‐
CoordARB, glTexCoordPointer
03 May 01 GLCLIENTACTIVETEXTURE(3gl)