scorpiontahir02
11 years agoVisitor
roTextureManager How does it cache images?
In my understanding, roTextureManager stores images in tmp:/ storage after downloading and creates and returns bitmaps when .GetBitmap() method is called and then bitmap is discarded (it takes memory until users own bitmap handle points to it). So it should not have any effect on memory. Then whey is it written here http://forums.roku.com/viewtopic.php?f=34&t=69730 that Bitmaps created with CreateObject can interfere with execution of roTextureManager. Also we need to call .Cleaup() method to unload images, so if images are only being stored in tmp:/ and being loaded in memory only once for a short span of time when .GetBitmap() is called then why is it stated here that what is meant by calling .Cleanup() method to unload images? As in my understanding cleanup will only delete images stored in tmp:/ storage?