glBindSampler

bind a named sampler to a texturing target

Signature

glBindSampler( GLuint ( unit ) , GLuint ( sampler ) )-> void
glBindSampler( unit , sampler )
glBindSamplers( first , count , samplers )

Parameters

VariablesDescription
unit
Specifies the index of the texture unit to which the sampler is bound.
sampler
Specifies the name of a sampler.