Search found 2 matches

by imflammable
Sun Aug 13, 2006 6:39 pm
Forum: Beginners Help
Topic: Triangle count
Replies: 1
Views: 154

u32 IVideoDriver::getPrimitiveCountDrawn()

Not quite triangle count, but pretty close.
by imflammable
Sun Aug 13, 2006 6:29 pm
Forum: Beginners Help
Topic: removing ALL gui elements
Replies: 11
Views: 558

I use this, and it seems to work...

Code: Select all

bool deleteGUI()
{
    core::list< gui::IGUIElement * > childlist = env->getRootGUIElement()->getChildren();
    while( !childlist.empty() )
        (*(childlist.getLast()))->remove();
  
    return true;
}