How to use the uniform2fv function from bindings
Find comprehensive JavaScript bindings.uniform2fv code examples handpicked from public code repositorys.
GitHub: mikeseven/node-webgl
889 890 891 892 893 894 895 896 897 898 899
throw new TypeError('Expected uniform2f(WebGLUniformLocation location, number x, number y)'); } return _uniform2f(location ? location._ : 0, x, y); } var _uniform2fv = gl.uniform2fv; gl.uniform2fv = function uniform2fv(location, v) { if (!(arguments.length === 2 && (location === null || location instanceof gl.WebGLUniformLocation) && typeof v === "object")) { throw new TypeError('Expected uniform2fv(WebGLUniformLocation location, FloatArray v)'); }
264
386
0
+ 81 other calls in file
GitHub: enh6/dumpster
867 868 869 870 871 872 873 874 875 876
if (GL.debug) { console.log("uniform2fv"); console.log(arguments); } arguments[1] = new Float32Array(arguments[1]); return gl_bindings.uniform2fv.apply(null, arguments); }; GL.uniform2i = function() { if (GL.debug) { console.log("uniform2i");
0
0
0
+ 70 other calls in file
bindings.createKey is the most popular function in bindings (8616 examples)