loading graphics from ram
BlitzMax Forums/BlitzMax Programming/loading graphics from ram
| ||
Is it possible to use the ram on your PC to hold graphic files. When I need a new set of graphics I can then quickly load them from ram instead of from the harddrive. I`ve not used the incbin function yet but I`m wondering if this is the way to go about it. |
| ||
take a look at a bankstream |
| ||
IncBin is probably what you are after. The Load functions (LoadImage, LoadSound etc.) accept streams as well as filenames in the argument, which means that you can load media from the hard drive, the web, RAM, or from any other source which you have a TStream object for. The easiest solution for your needs would probably be IncBin. |
| ||
Nope, I think he's talking about bankstream |