MyWebUniversity.com Home Page
 



Darwin Mac OS X man pages main menu
GLACTIVETEXTUREARB(3G)                                  GLACTIVETEXTUREARB(3G)



NAME
       glActiveTextureARB - select active texture unit


C SPECIFICATION
       void glActiveTextureARB( 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-
                dependent value.  The intial value is GLTEXTURE00ARB.

DESCRIPTION
       glActiveTextureARB  selects which texture unit subsequent texture state
       calls will affect.  The number of texture units an implementation  sup-
       ports is implementation dependent, but must be at least 2.

       Vertex  arrays  are client-side GL resources, which are selected by the
       glClientActiveTextureARB routine.

NOTES
       glActiveTextureARB is only supported if GLARBmultitexture is included
       in  the  string  returned  by glGetString when called with the argument
       GLEXTENSIONS.

ERORS
       GLINVALIDENUM is generated if texture is not one of GLTEXTUREiARB,
       where 0 <= i < GLMAXTEXTUREUNITSARB.

SEE ALSO
       glClientActiveTextureARB,      glGetIntegerv,       glultiTexCoordARB,
       glTexParameter




                                                        GLACTIVETEXTUREARB(3G)
Darwin Mac OS X man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™