src/textures.js
function setSamplerParameters(gl, sampler, options) {
  setTextureSamplerParameters(gl, sampler, gl.samplerParameteri, options);
}
function setSamplerParameters(gl, sampler, options) {
  setTextureSamplerParameters(gl, sampler, gl.samplerParameteri, options);
}
function setSamplerParameters ( gl , sampler , options ) { setTextureSamplerParameters ( gl , sampler , gl . samplerParameteri , options ) ; }
Sets the sampler parameters of a sampler.
@param {WebGLRenderingContext} gl the WebGLRenderingContext
@param {WebGLSampler} sampler the WebGLSampler to set parameters for
@param {module:twgl.TextureOptions} options A TextureOptions object with whatever parameters you want set.
@memberOf module:twgl/textures
Sets the sampler parameters of a sampler .