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

Method activeFramebuffer

src/core/p5.Renderer3D.js:1425–1427  ·  view source on GitHub ↗

* @private * @returns {p5.Framebuffer|null} The currently active framebuffer, or null if * the main canvas is the current draw target.

()

Source from the content-addressed store, hash-verified

1423 * the main canvas is the current draw target.
1424 */
1425 activeFramebuffer() {
1426 return this.activeFramebuffers[this.activeFramebuffers.length - 1] || null;
1427 }
1428
1429 createFramebuffer(options) {
1430 return new Framebuffer(this, options);

Callers 15

filterMethod · 0.95
beginMethod · 0.80
bindTexturesMethod · 0.80
clearMethod · 0.80
readFramebufferPixelsMethod · 0.80
clearMethod · 0.80
clearDepthMethod · 0.80
_shaderOptionsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected