@tonyg, I'm not making it complicated; I'm using the code from my game. It is designed to only load the image into memory once no matter how many times you call the load.
@H&K, if that were true i don't think I see any allocation of any of the objects unless I was rendering. For that matter, what if you load and object and then use midhandleimage on it?
I wish there was some documentation on how memory allocation is being handled so we didn't have to guess. I'll try a few simple examples when I get a few minutes.
@H&K, if that were true i don't think I see any allocation of any of the objects unless I was rendering. For that matter, what if you load and object and then use midhandleimage on it?
I wish there was some documentation on how memory allocation is being handled so we didn't have to guess. I'll try a few simple examples when I get a few minutes.