X-Git-Url: http://git.hcoop.net/clinton/guile-figl.git/blobdiff_plain/b002944dd992dc5a273e0067504beb48e1ae3d1c..a6a00658f26c164551287799b194cc2f07eb78be:/upstream-doc/man2/xhtml/glActiveTexture.xml diff --git a/upstream-doc/man2/xhtml/glActiveTexture.xml b/upstream-doc/man2/xhtml/glActiveTexture.xml new file mode 100644 index 0000000..1114135 --- /dev/null +++ b/upstream-doc/man2/xhtml/glActiveTexture.xml @@ -0,0 +1,39 @@ + + +
glActiveTexture â select active texture unit
void glActiveTexture( | GLenum  | texture) ; |
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
+ GL_TEXTURE
GL_MAX_TEXTURE_COORDS
- 1)
+ and (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
- 1).
+ The initial value is GL_TEXTURE0
.
+
+ glActiveTexture
selects which texture unit subsequent texture state calls will
+ affect. The number of texture units an implementation supports is
+ implementation dependent, but must be at least 2.
+
+ Vertex arrays are client-side GL resources, which are selected by the + glClientActiveTexture routine. +
+ glActiveTexture
is only supported if the GL version is 1.3 or greater, or if
+ ARB_multitexture
is included in the string returned by
+ glGetString when called with the argument GL_EXTENSIONS
.
+
+ GL_INVALID_ENUM
is generated if texture
is not one of
+ GL_TEXTURE
GL_MAX_TEXTURE_COORDS
- 1)
+ and (GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
- 1).
+
+ glGet with argument GL_ACTIVE_TEXTURE
, GL_MAX_TEXTURE_COORDS
, or GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
+
+ Copyright © 1991-2006 + Silicon Graphics, Inc. This document is licensed under the SGI + Free Software B License. For details, see + http://oss.sgi.com/projects/FreeB/. +