How to use the uniform2i function from bindings
Find comprehensive JavaScript bindings.uniform2i code examples handpicked from public code repositorys.
GitHub: mikeseven/node-webgl
897 898 899 900 901 902 903 904 905 906 907
throw new TypeError('Expected uniform2fv(WebGLUniformLocation location, FloatArray v)'); } return _uniform2fv(location ? location._ : 0, v); } var _uniform2i = gl.uniform2i; gl.uniform2i = function uniform2i(location, x, y) { if (!(arguments.length === 3 && (location === null || location instanceof gl.WebGLUniformLocation) && typeof x === "number" && typeof y === "number")) { throw new TypeError('Expected uniform2i(WebGLUniformLocation location, number x, number y)'); }
264
386
0
+ 81 other calls in file
GitHub: enh6/dumpster
874 875 876 877 878 879 880 881 882 883
GL.uniform2i = function() { if (GL.debug) { console.log("uniform2i"); console.log(arguments); } return gl_bindings.uniform2i.apply(null, arguments); }; GL.uniform2iv = function() { if (GL.debug) { console.log("uniform2iv");
0
0
0
+ 70 other calls in file
bindings.createKey is the most popular function in bindings (8616 examples)