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

Method readFramebufferPixel

src/webgl/p5.RendererGL.js:1766–1776  ·  view source on GitHub ↗
(framebuffer, x, y)

Source from the content-addressed store, hash-verified

1764 }
1765
1766 readFramebufferPixel(framebuffer, x, y) {
1767 const colorFormat = this._getFramebufferColorFormat(framebuffer);
1768 return readPixelWebGL(
1769 this.GL,
1770 framebuffer.framebuffer,
1771 x,
1772 y,
1773 colorFormat.format,
1774 colorFormat.type
1775 );
1776 }
1777
1778 readFramebufferRegion(framebuffer, x, y, w, h) {
1779 const gl = this.GL;

Callers 1

getMethod · 0.45

Calls 2

readPixelWebGLFunction · 0.90

Tested by

no test coverage detected