bindSampler method
- GLuint unit,
- WebGLSampler? sampler
The WebGL2RenderingContext.bindSampler() method of the
WebGL 2 API
binds a
passed WebGLSampler object to the texture unit at the passed index.
Implementation
external void bindSampler(GLuint unit, WebGLSampler? sampler);