1GLACTIVETEXTUREARB(3G) GLACTIVETEXTUREARB(3G)
2
3
4
6 glActiveTextureARB - select active texture unit
7
8
10 void glActiveTextureARB( GLenum texture )
11
12 delim $$
13
15 texture Specifies which texture unit to make active. The number of
16 texture units is implementation dependent, but must be at
17 least two. texture must be one of GL_TEXTURE$i$_ARB, where 0 ≤
18 $ i $ < GL_MAX_TEXTURE_UNITS_ARB, which is an implementation-
19 dependent value. The initial value is GL_TEXTURE0_ARB.
20
22 glActiveTextureARB selects which texture unit subsequent texture state
23 calls will affect. The number of texture units an implementation sup‐
24 ports is implementation dependent, but must be at least 2.
25
26 Vertex arrays are client-side GL resources, which are selected by the
27 glClientActiveTextureARB routine.
28
30 glActiveTextureARB is only supported if GL_ARB_multitexture is included
31 in the string returned by glGetString when called with the argument
32 GL_EXTENSIONS.
33
35 GL_INVALID_ENUM is generated if texture is not one of
36 GL_TEXTURE$i$_ARB,
37 where 0 ≤ $ i $ < GL_MAX_TEXTURE_UNITS_ARB.
38
40 glClientActiveTextureARB(3G), glGetIntegerv(3G),
41 glMultiTexCoordARB(3G), glTexParameter(3G)
42
43
44
45
46 GLACTIVETEXTUREARB(3G)