How to use the uniformMatrix2fv function from bindings

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

977
978
979
980
981
982
983
984
985
986
987
    throw new TypeError('Expected uniform4iv(WebGLUniformLocation location, Int32Array x)');
  }
  return _uniform4iv(location ? location._ : 0, x);
}


var _uniformMatrix2fv = gl.uniformMatrix2fv;
gl.uniformMatrix2fv = function uniformMatrix2fv(location, transpose, value) {
  if (!(arguments.length === 3 && (location === null || location instanceof gl.WebGLUniformLocation) && typeof transpose === "boolean" && typeof value === "object")) {
    throw new TypeError('Expected uniformMatrix2fv(WebGLUniformLocation location, boolean transpose, FloatArray value)');
  }
fork icon264
star icon386
watch icon0

+ 81 other calls in file

949
950
951
952
953
954
955
956
957
958
GL.uniformMatrix2fv = function() {
    if (GL.debug) {
        console.log("uniformMatrix2fv");
        console.log(arguments);
    }
    return gl_bindings.uniformMatrix2fv.apply(null, arguments);
};
GL.uniformMatrix3fv = function() {
    if (GL.debug) {
        console.log("uniformMatrix3fv");
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)