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
How to find ITexture * for x models ?
best guess
i guess you can try
delete Node->getMaterial(6).Texture1
or
Node->getMaterial(some number).Texture1 = 0;
not sure if it would work, but my best guess
delete Node->getMaterial(6).Texture1
or
Node->getMaterial(some number).Texture1 = 0;
not sure if it would work, but my best guess
irrlicht game character project
http://picasaweb.google.com/juliusctw/FinishedArt
http://picasaweb.google.com/juliusctw/FinishedArt