Program.bindSampler

Binds the sampler to the texture unit. The binding is done according to the texture layout, which must be set in the program for the textures that will be used before any binding can be done.

@param unit The unit to bind

class Program
abstract
void
bindSampler
(
uint unit
)

Meta