(framebuffer, x, y)
| 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; |
no test coverage detected