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

Method bindFramebuffer

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

Source from the content-addressed store, hash-verified

1726 }
1727
1728 bindFramebuffer(framebuffer) {
1729 const gl = this.GL;
1730 gl.bindFramebuffer(
1731 gl.FRAMEBUFFER,
1732 framebuffer
1733 ? this.getFramebufferToBind(framebuffer)
1734 : null
1735 );
1736 }
1737
1738 framebufferYScale() {
1739 // WebGL textures are upside-down compared to textures that come from

Callers 8

readFramebufferPixelsMethod · 0.95
_beforeBeginMethod · 0.45
endMethod · 0.45
readPixelsWebGLFunction · 0.45
readPixelWebGLFunction · 0.45

Calls 1

getFramebufferToBindMethod · 0.95

Tested by

no test coverage detected