How do I draw directly to image?


Does anyone know how to draw to a RGBA Byte array without needing to draw to a screen buffer? My program needs to draw an image larger than the screen, so using the screen buffer doesn’t work well.

You can do that using Framebuffer Objects (FBO), see for example the FBO wiki page.