code: function setSamplerParameters(gl, sampler, options) {
    setTextureSamplerParameters(gl, sampler, gl.samplerParameteri, options);
  }
docs: 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