Skip to content

API Reference / @gtkx/gl / bindTexture

Function: bindTexture()

bindTexture(target, texture): void

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

void glBindTexture(GLenum target, GLuint texture)

Provided by GL_VERSION_1_1.

Parameters

target

number

GLenum, group TextureTarget

texture

number

GLuint, object class texture

Returns

void

See

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

Released under the MPL-2.0 License.