Renderer.readPixels

Use this function to read pixels from the current rendering target. Note: This is a very slow operation, and should not be used frequently. Note: This method <b>allocates</b> GC memory.

rect represents the area to read, or null for the entire render target

class Renderer
void*
readPixels
()

Meta