GLCLIENTACTIVETEXTUREARB(3G) | GLCLIENTACTIVETEXTUREARB(3G) |
glClientActiveTextureARB - select active texture unit
void glClientActiveTextureARB( GLenum texture )
glClientActiveTextureARB 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.
glClientActiveTextureARB is supported only if GL_ARB_multitexture is included in the string returned by glGetString when called with the argument GL_EXTENSIONS.
glClientActiveTextureARB sets GL_CLIENT_ACTIVE_TEXTURE_ARB to the active texture unit.
GL_INVALID_ENUM is generated if texture is not one of GL_TEXTUREi_ARB, where 0 ≤ i < GL_MAX_TEXTURE_UNITS_ARB.
glActiveTextureARB, glDisableClientState, glEnableClientState, glMultiTexCoordARB, glTexCoordPointer