1GLCLIENTACTIVETEXTUREARB(3G) GLCLIENTACTIVETEXTUREARB(3G)
2
3
4
6 glClientActiveTextureARB - select active texture unit
7
8
10 void glClientActiveTextureARB( GLenum texture )
11
12
14 texture Specifies which texture unit to make active. The number of
15 texture units is implementation dependent, but must be at
16 least two. texture must be one of GL_TEXTUREi_ARB where 0 ≤ i
17 < GL_MAX_TEXTURE_UNITS_ARB, which is an implementation-depen‐
18 dent value. The initial value is GL_TEXTURE0_ARB.
19
21 glClientActiveTextureARB selects the vertex array client state parame‐
22 ters to be modified by glTexCoordPointer, and enabled or disabled with
23 glEnableClientState or glDisableClientState, respectively, when called
24 with a parameter of GL_TEXTURE_COORD_ARRAY.
25
27 glClientActiveTextureARB is supported only if GL_ARB_multitexture is
28 included in the string returned by glGetString when called with the
29 argument GL_EXTENSIONS.
30
31 glClientActiveTextureARB sets GL_CLIENT_ACTIVE_TEXTURE_ARB to the
32 active texture unit.
33
35 GL_INVALID_ENUM is generated if texture is not one of GL_TEXTUREi_ARB,
36 where 0 ≤ i < GL_MAX_TEXTURE_UNITS_ARB.
37
39 glActiveTextureARB(3G), glDisableClientState(3G),
40 glEnableClientState(3G), glMultiTexCoordARB(3G), glTexCoordPointer(3G)
41
42
43
44
45 GLCLIENTACTIVETEXTUREARB(3G)