Skip to content

API Reference / @gtkx/gl / bindTextureUnit

Function: bindTextureUnit()

bindTextureUnit(unit, texture): void

Defined in: generated/commands.d.ts:274

void glBindTextureUnit(GLuint unit, GLuint texture)

Provided by GL_VERSION_4_5.

Parameters

unit

number

GLuint

texture

number

GLuint, object class texture

Returns

void

See

https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBindTextureUnit.xhtml

Released under the MPL-2.0 License.