Skip to content

API Reference / @gtkx/gl / bindSampler

Function: bindSampler()

bindSampler(unit, sampler): void

Defined in: generated/commands.d.ts:232

void glBindSampler(GLuint unit, GLuint sampler)

Provided by GL_VERSION_3_3.

Parameters

unit

number

GLuint

sampler

number

GLuint, object class sampler

Returns

void

See

https://registry.khronos.org/OpenGL-Refpages/gl4/html/glBindSampler.xhtml

Released under the MPL-2.0 License.