loadTextureUnit

fun loadTextureUnit(unit: Int)

Loads the specified number as the value of this program's 'textureSampler' uniform variable.

Parameters

unit

The texture unit.