How to use the uniform3f function from bindings
Find comprehensive JavaScript bindings.uniform3f code examples handpicked from public code repositorys.
GitHub: mikeseven/node-webgl
913 914 915 916 917 918 919 920 921 922 923
throw new TypeError('Expected uniform2iv(WebGLUniformLocation location, Int32Array v)'); } return _uniform2iv(location ? location._ : 0, v); } var _uniform3f = gl.uniform3f; gl.uniform3f = function uniform3f(location, x, y, z) { if (!(arguments.length === 4 && (location === null || location instanceof gl.WebGLUniformLocation) && typeof x === "number" && typeof y === "number" && typeof z === "number")) { throw new TypeError('Expected uniform3f(WebGLUniformLocation location, number x, number y, number z)'); }
264
386
0
+ 81 other calls in file
GitHub: enh6/dumpster
889 890 891 892 893 894 895 896 897 898
GL.uniform3f = function() { if (GL.debug) { console.log("uniform3f"); console.log(arguments); } return gl_bindings.uniform3f.apply(null, arguments); }; GL.uniform3fv = function() { if (GL.debug) { console.log("uniform3fv");
0
0
0
+ 70 other calls in file
bindings.createKey is the most popular function in bindings (8616 examples)