glActiveTexture â select active texture unit
C Specificationvoid glActiveTexture(
GLenum texture)
;
Â
Parameterstexture
Specifies which texture unit to make active. The number of texture units is implementation-dependent, but must be at least 32. texture
must be one of GL_TEXTURE
i, where i ranges from zero to the value of GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
minus one. 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 32.
GL_INVALID_ENUM
is generated if texture
is not one of GL_TEXTURE
i, where i ranges from zero to the value of GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
minus one.
glGet with argument GL_ACTIVE_TEXTURE
, or GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
.
glGenTextures, glBindTexture, glCompressedTexImage2D, glCompressedTexImage3D, glCompressedTexSubImage2D, glCompressedTexSubImage3D, glCopyTexImage2D, glCopyTexSubImage2D, glCopyTexSubImage3D, glDeleteTextures glIsTexture, glTexImage2D, glTexImage3D, glTexSubImage2D, glTexSubImage3D, glTexParameter,
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4