Pixmaps and banks

BlitzMax Forums/BlitzMax Beginners Area/Pixmaps and banks

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

It should be cross platform.

Why not use a static bank, that way you don't have to copy the data? Or does it have to be copied? If you are trying to access the pixels in a pixmap, using a static bank would be a lot faster - no copying needed. You can always use ConvertPixmap() to turn it into the format you want, as a catch-all.

You can also grab the backbuffer directly into a bank by using glReadPixels()