How to use the uniform4iv function from bindings

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

969
970
971
972
973
974
975
976
977
978
979
    throw new TypeError('Expected uniform4i(WebGLUniformLocation location, number x, number y, number z, number w)');
  }
  return _uniform4i(location ? location._ : 0, x, y, z, w);
}


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

+ 81 other calls in file

942
943
944
945
946
947
948
949
950
951
    if (GL.debug) {
        console.log("uniform4iv");
        console.log(arguments);
    }
    arguments[1] = new Int32Array(arguments[1]);
    return gl_bindings.uniform4iv.apply(null, arguments);
};
GL.uniformMatrix2fv = function() {
    if (GL.debug) {
        console.log("uniformMatrix2fv");
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)