GLCLIENTACTIVETEXTUREARB(3G) GLCLIENTACTIVETEXTUREARB(3G)
NAME
glClientActiveTextureARB - select active texture unit
C SPECIFICATION
void glClientActiveTextureARB( GLenum texture )
PARAMETERS
texture Specifies which texture unit to make active. The number of
texture units is implementation dependent, but must be at
least two. texture must be one of GLTEXTUREiARB where 0 <= i
< GLMAXTEXTUREUNITSARB, which is an implementation-depen-
dent value. The initial value is GLTEXTURE00ARB.
DESCRIPTION
glClientActiveTextureARB selects the vertex array client state parame-
ters to be modified by glTexCoordPointer, and enabled or disabled with
glEnableClientState or glDisableClientState, respectively, when called
with a parameter of GLTEXTURECORDARAY.
NOTES
glClientActiveTextureARB is supported only if GLARBmultitexture is
included in the string returned by glGetString when called with the
argument GLEXTENSIONS.
glClientActiveTextureARB sets GLCLIENTACTIVETEXTUREARB to the
active texture unit.
ERORS
GLINVALIDENUM is generated if texture is not one of GLTEXTUREiARB,
where 0 <= i < GLMAXTEXTUREUNITSARB.
SEE ALSO
glActiveTextureARB, glDisableClientState, glEnableClientState,
glultiTexCoordARB, glTexCoordPointer
GLCLIENTACTIVETEXTUREARB(3G)
|