I use CEGUI 0.7.7 with Ogre renderer. I call
Code: Select all
CEGUI::WindowManager::getSingleton().loadWindowLayout(root);
to load a list of 17 layout files. Each of them contains a lot of CEGUI elements, mostly StaticImage or ImageButton. Total amount of elements in all files is about 2500.
After calling loadWindowLayout() I've noticed huge memory consumption of 150 Mbytes(!).
All imageset atlas textures are much smaller and they are loaded before layouts.
Are there any mechanisms in CEGUI that can occupy this memory, internal buffers or something like this? AutoRenderingSurface property is False on every element.