How to use the uniform3i function from bindings

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

929
930
931
932
933
934
935
936
937
938
939
    throw new TypeError('Expected uniform3fv(WebGLUniformLocation location, FloatArray v)');
  }
  return _uniform3fv(location ? location._ : 0, v);
}


var _uniform3i = gl.uniform3i;
gl.uniform3i = function uniform3i(location, x, y, z) {
  if (!(arguments.length === 4 && (location === null || location instanceof gl.WebGLUniformLocation) && typeof x === "number" && typeof y === "number" && typeof z === "number")) {
    throw new TypeError('Expected uniform3i(WebGLUniformLocation location, number x, number y, number z)');
  }
fork icon264
star icon386
watch icon0

+ 81 other calls in file

904
905
906
907
908
909
910
911
912
913
GL.uniform3i = function() {
    if (GL.debug) {
        console.log("uniform3i");
        console.log(arguments);
    }
    return gl_bindings.uniform3i.apply(null, arguments);
};
GL.uniform3iv = function() {
    if (GL.debug) {
        console.log("uniform3iv");
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)