Skip to content

API Reference / @gtkx/gl / activeTexture

Function: activeTexture() ​

activeTexture(texture): void

Defined in: packages/gl/src/generated/commands.ts:42

void glActiveTexture(GLenum texture)

Provided by GL_VERSION_1_3. Also known as glActiveTextureARB. GLX render opcode 197.

Parameters ​

texture ​

number

TextureUnit

Returns ​

void