MirBSD manpage: glActiveTextureARB(3)


GLACTIVETEXTUREARB(3GUNIX Programmer's ManuGLACTIVETEXTUREARB(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 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

     glActiveTextureARB selects which texture unit subsequent
     texture state calls will affect.  The number of texture
     units an implementation supports is implementation depen-
     dent, 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 GL_ARB_multitexture
     is included in the string returned by glGetString when
     called with the argument GL_EXTENSIONS.

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

     glClientActiveTextureARB(3G), glGetIntegerv(3G),
     glMultiTexCoordARB(3G), glTexParameter(3G)

MirBSD #10-current     Printed 2021-12-07                       1

Generated on 2021-12-07 11:07:08 by $MirOS: src/scripts/roff2htm,v 1.103 2021/01/23 20:24:35 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2021 MirBSD.

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