Skip to content

API Reference / @gtkx/gl / bindTextureUnit

Function: bindTextureUnit() ​

bindTextureUnit(unit, texture): void

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

void glBindTextureUnit(GLuint unit, GLuint texture)

Provided by GL_VERSION_4_5. Registry note: Reuse GL_ARB_direct_state_access Also provided by the GL_ARB_direct_state_access extension. GL_ARB_direct_state_access note: Texture object functions.

Parameters ​

unit ​

number

GLuint

texture ​

number

GLuint, object class texture

Returns ​

void