bindTexture

fun bindTexture(texture: KglTexture)

Makes an OpenGL texture 2D object bound to the current multitexture unit. This has no effect if the specified texture object is already bound. The default is texture 0, indicating that no texture is bound.

Parameters

texture

the name of the OpenGL texture 2D object to make active, or 0 to make no texture active