Skip to content

API Reference / @gtkx/gl / bindSampler

Function: bindSampler() ​

bindSampler(unit, sampler): void

Defined in: packages/gl/src/generated/commands.ts:327

void glBindSampler(GLuint unit, GLuint sampler)

Provided by GL_VERSION_3_3. Registry note: Reuse ARB_sampler_objects Also provided by the GL_ARB_sampler_objects extension.

Parameters ​

unit ​

number

GLuint

sampler ​

number

GLuint, object class sampler

Returns ​

void