Function gls::apis::active_texture[][src]

pub fn active_texture(texture: GLenum)

Select active texture unit.

Parameters

  • texture - Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least 80. texture must be one of GL_TEXTUREi, where i ranges from zero to the value of GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS minus one. The initial value is GL_TEXTURE0.