MirOS Manual: glClientActiveTextureARB(3)


GLCLIENTACTIVETEXTUREUNIX3Programmer'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 depen-
              dent, but must be at least two. texture must be one
              of GL_TEXTUREi_ARB where 0 ≤ i <
              GL_MAX_TEXTURE_UNITS_ARB, which is an
              implementation-dependent value.  The initial value
              is GL_TEXTURE0_ARB.

DESCRIPTION

     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.

NOTES

     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.

ERRORS

     GL_INVALID_ENUM is generated if texture is not one of
     GL_TEXTUREi_ARB, where 0 ≤ i < GL_MAX_TEXTURE_UNITS_ARB.

SEE ALSO

     glActiveTextureARB(3G), glDisableClientState(3G),
     glEnableClientState(3G), glMultiTexCoordARB(3G),
     glTexCoordPointer(3G)

MirOS BSD #10-current   Printed 20.2.2012                       1

Generated on 2012-02-20 02:47:02 by $MirOS: src/scripts/roff2htm,v 1.70 2011/12/03 18:21:12 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002‒2011 The MirOS Project, Germany.
This product includes material provided by Thorsten Glaser.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.