activeTextureUnit

fun activeTextureUnit(textureUnit: Int)

Specifies the OpenGL multitexture unit to make active. This has no effect if the specified multitexture unit is already active. The default is GL_TEXTURE0.

Parameters

textureUnit

the multitexture unit, one of GL_TEXTUREi, where i ranges from 0 to 32.