* @private * @returns {p5.Framebuffer|null} The currently active framebuffer, or null if * the main canvas is the current draw target.
()
| 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); |
no outgoing calls
no test coverage detected