How to use the framebufferTexture2D function from bindings
Find comprehensive JavaScript bindings.framebufferTexture2D code examples handpicked from public code repositorys.
GitHub: mikeseven/node-webgl
418 419 420 421 422 423 424 425 426 427 428
throw new TypeError('Expected framebufferRenderbuffer(number target, number attachment, number renderbuffertarget, WebGLRenderbuffer renderbuffer)'); } return _framebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer ? renderbuffer._ : 0); } var _framebufferTexture2D = gl.framebufferTexture2D; gl.framebufferTexture2D = function framebufferTexture2D(target, attachment, textarget, texture, level) { if (!(arguments.length === 5 && typeof target === "number" && typeof attachment === "number" && typeof textarget === "number" && (texture === null || texture instanceof gl.WebGLTexture) && typeof level === "number")) { throw new TypeError('Expected framebufferTexture2D(number target, number attachment, number textarget, WebGLTexture texture, number level)'); }
264
386
0
+ 81 other calls in file
GitHub: enh6/dumpster
662 663 664 665 666 667 668 669 670 671
GL.framebufferTexture2D = function() { if (GL.debug) { console.log("framebufferTexture2D"); console.log(arguments); } return gl_bindings.framebufferTexture2D.apply(null, arguments); }; GL.frontFace = function() { if (GL.debug) { console.log("frontFace");
0
0
0
+ 70 other calls in file
bindings.createKey is the most popular function in bindings (8616 examples)