MCPcopy Index your code
hub / github.com/processing/p5.js / createFramebuffer

Method createFramebuffer

src/core/p5.Graphics.js:544–546  ·  view source on GitHub ↗

* Creates a new p5.Framebuffer object with * the same WebGL context as the graphics buffer. * * p5.Framebuffer objects are separate drawing * surfaces that can be used as textures in WebGL mode. They're similar to * <a href

(options)

Source from the content-addressed store, hash-verified

542 * }
543 */
544 createFramebuffer(options) {
545 return new Framebuffer(this._renderer, options);
546 }
547
548 _assert3d(name) {
549 if (!this._renderer.isP3D)

Callers 13

makeSketchFunction · 0.45
rendering.jsFile · 0.45
testWithConfigurationFunction · 0.45
p5.Framebuffer.jsFile · 0.45
p5.Shader.jsFile · 0.45
p5.RendererGL.jsFile · 0.45
maskFunction · 0.45
p5.Framebuffer.jsFile · 0.45
webgpu.jsFile · 0.45
webgl.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected