MCPcopy
hub / github.com/processing/p5.js / getFramebufferToBind

Method getFramebufferToBind

src/webgl/p5.RendererGL.js:1684–1690  ·  view source on GitHub ↗
(framebuffer)

Source from the content-addressed store, hash-verified

1682 }
1683
1684 getFramebufferToBind(framebuffer) {
1685 if (framebuffer.antialias) {
1686 return framebuffer.aaFramebuffer;
1687 } else {
1688 return framebuffer.framebuffer;
1689 }
1690 }
1691
1692 updateFramebufferTexture(framebuffer, property) {
1693 if (framebuffer.antialias) {

Callers 2

bindFramebufferMethod · 0.95
_framebufferToBindMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected