How to use the uniform1iv function from bindings
Find comprehensive JavaScript bindings.uniform1iv code examples handpicked from public code repositorys.
GitHub: mikeseven/node-webgl
873 874 875 876 877 878 879 880 881 882 883
if(typeof x === "boolean") x= x ? 1 : 0; return _uniform1i(location ? location._ : 0, x); } var _uniform1iv = gl.uniform1iv; gl.uniform1iv = function uniform1iv(location, v) { if (!(arguments.length === 2 && (location === null || location instanceof gl.WebGLUniformLocation) && typeof v === "object")) { throw new TypeError('Expected uniform1iv(WebGLUniformLocation location, Int32Array v)'); }
264
386
0
+ 81 other calls in file
GitHub: enh6/dumpster
852 853 854 855 856 857 858 859 860 861
if (GL.debug) { console.log("uniform1iv"); console.log(arguments); } arguments[1] = new Int32Array(arguments[1]); return gl_bindings.uniform1iv.apply(null, arguments); }; GL.uniform2f = function() { if (GL.debug) { console.log("uniform2f");
0
0
0
+ 70 other calls in file
bindings.createKey is the most popular function in bindings (8616 examples)