IDisposable and MOGRE objects

Kerion

09-12-2006 03:42:43

Can't seem to find this in any docs, but I am going to assume that the Dispose method of MOGRE objects is meant to be equivalent to deleting them in C++? For instance, m_Root.Dispose() is the proper way to clean up a Root. I just want to be sure that's what it is being used for. Doing a quick Reflector session on Mogre.dll seems to indicate that, but I hate assuming anything.

Bekas

10-12-2006 00:23:00

You can read a few pointers in this post: http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=2941

I'll add an entry in the 'usage FAQ' with more details in the future..

Bekas

10-12-2006 00:47:57

If you have more questions about disposing let me know.