How to use the uniform2f function from bindings
Find comprehensive JavaScript bindings.uniform2f code examples handpicked from public code repositorys.
GitHub: mikeseven/node-webgl
881 882 883 884 885 886 887 888 889 890 891
throw new TypeError('Expected uniform1iv(WebGLUniformLocation location, Int32Array v)'); } return _uniform1iv(location ? location._ : 0, v); } var _uniform2f = gl.uniform2f; gl.uniform2f = function uniform2f(location, x, y) { if (!(arguments.length === 3 && (location === null || location instanceof gl.WebGLUniformLocation) && typeof x === "number" && typeof y === "number")) { throw new TypeError('Expected uniform2f(WebGLUniformLocation location, number x, number y)'); }
264
386
0
+ 81 other calls in file
GitHub: enh6/dumpster
859 860 861 862 863 864 865 866 867 868
GL.uniform2f = function() { if (GL.debug) { console.log("uniform2f"); console.log(arguments); } return gl_bindings.uniform2f.apply(null, arguments); }; GL.uniform2fv = function() { if (GL.debug) { console.log("uniform2fv");
0
0
0
+ 70 other calls in file
bindings.createKey is the most popular function in bindings (8616 examples)