Here is the code snippet

osg::ref_ptr<osg::Texture::TextureObjectManager>& tom =
osg::Texture::getTextureObjectManager(0);
unsigned int n1 = tom->getNumberActiveTextureObjects();
unsigned int n2 = tom->getNumberOrphanedTextureObjects();

tom->deleteAllTextureObjects();

n1 = tom->getNumberActiveTextureObjects();
n2 = tom->getNumberOrphanedTextureObjects();

n1 hasnt changed. Any clue ?

Nick

http://www.linkedin.com/in/tnikolov
Sent from Devlet, Ankara, Turkey
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to