How to use the uniform2iv function from bindings

Find comprehensive JavaScript bindings.uniform2iv code examples handpicked from public code repositorys.

905
906
907
908
909
910
911
912
913
914
915
    throw new TypeError('Expected uniform2i(WebGLUniformLocation location, number x, number y)');
  }
  return _uniform2i(location ? location._ : 0, x, y);
}


var _uniform2iv = gl.uniform2iv;
gl.uniform2iv = function uniform2iv(location, v) {
  if (!(arguments.length === 2 && (location === null || location instanceof gl.WebGLUniformLocation) && typeof v === "object")) {
    throw new TypeError('Expected uniform2iv(WebGLUniformLocation location, Int32Array v)');
  }
fork icon264
star icon386
watch icon0

+ 81 other calls in file

882
883
884
885
886
887
888
889
890
891
    if (GL.debug) {
        console.log("uniform2iv");
        console.log(arguments);
    }
    arguments[1] = new Int32Array(arguments[1]);
    return gl_bindings.uniform2iv.apply(null, arguments);
};
GL.uniform3f = function() {
    if (GL.debug) {
        console.log("uniform3f");
fork icon0
star icon0
watch icon0

+ 70 other calls in file

Other functions in bindings

Sorted by popularity

function icon

bindings.createKey is the most popular function in bindings (8616 examples)