Hi, everybody!
When I load and add an image to my sprite container, the Profiler states that my memory using has gone up, as it should have. However, when I set image's Visible property to FALSE, the Profiler states that I am only using a fraction of that memory. In both cases, the image is loaded from the texture and is added to the sprite container.
Example:
Do not load any images: 21MB used.
Load all images and add them to the sprite container and Visible is True: 59MB used.
Ditto except the Visible property is false: 26 MB used.
Of course, when I set the Visible property back to true, the memory used goes up as it should. The image is in memory in both cases, so why does Profiler show a lower memory usage when they are invisible?