This is a little odd but I need to save a screen-shot as an array (numpy array for eg) without writing to disk. The idea here is to create and then call the array once per frame in an external script so doing this...
...and then converting the png takes too long to be feasible mostly due to saving the image (which is something I don't need anyway).
I'm trying to avoid digging into the rasterizer's source as it's completely foreign to me so I figured I'd ask here first. Any thoughts or suggestions would be greatly appreciated.
glReadPixels, combine with this PNG writing function, stackoverflow.com/a/19174800/432509 $\endgroup$