How to use the uniform2iv function from bindings
Find comprehensive JavaScript bindings.uniform2iv code examples handpicked from public code repositorys.
GitHub: mikeseven/node-webgl
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)'); }
264
386
0
+ 81 other calls in file
GitHub: enh6/dumpster
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");
0
0
0
+ 70 other calls in file
bindings.createKey is the most popular function in bindings (8616 examples)