Sets the framebuffer to read pixels from. (Default: currently bound framebuffer)
The height of the rectangle in pixels (Default: current framebuffer height)
The width of the rectangle in pixels. (Default: current framebuffer width)
The x-offset of the upper-left corner of the rectangle in pixels. (Default: 0
)
The y-offset of the upper-left corner of the rectangle in pixels. (Default: 0
)
Generated using TypeDoc
An optional ArrayBufferView which gets the result of reading the pixels. (Default:
null
)