How to find ITexture * for x models ?
Posted: Fri Nov 03, 2006 1:40 am
Hi..
I am trying to delete texture belonged to x model.
Since we do not care about loading texture in X models,
I could not save ITexture * for later use.
I want to delete unused texure .
How can I know the ITexture pointer for my x models?
smgr->getVideoDriver()->removeAllTextures()
This function delete textures ,
but ITexture pointers are not initialized to NULL;
so smgr->drawAll() function give me errors....
thanks
I am trying to delete texture belonged to x model.
Since we do not care about loading texture in X models,
I could not save ITexture * for later use.
I want to delete unused texure .
How can I know the ITexture pointer for my x models?
smgr->getVideoDriver()->removeAllTextures()
This function delete textures ,
but ITexture pointers are not initialized to NULL;
so smgr->drawAll() function give me errors....
thanks