I didn't say create static pixmap. I said create a static bank. A static bank is an empty bank which just `wraps around` an existing block of memory. So you can wrap it onto the PixmapPixelBuf() address in memory. It then doesn't have content of its own, it is sharing the content with the pixmap object. So you don't have to copy the data from the pixmap to the bank, they are basically one and the same - two object types looking at the same block of memory.
Use CreateStaticBank() and give it the address of your pixmap's buffer.
No, I did not mean to create a bank first and then do a static bank on top of it, that is pointless.
Use CreateStaticBank() and give it the address of your pixmap's buffer.
No, I did not mean to create a bank first and then do a static bank on top of it, that is pointless.