Esempio n. 1
0
        public static void Destroy()
        {
            // Get the instance
            TextureMan pMan = TextureMan.PrivGetInstance();

            Debug.Assert(pMan != null);

#if (TRACK_DESTRUCTOR_MAN)
            Debug.WriteLine("--->TextureMan.Destroy()");
#endif
            pMan.BaseDestroy();

#if (TRACK_DESTRUCTOR_MAN)
            Debug.WriteLine("     {0} ({1})", pMan.poNodeCompare, pMan.poNodeCompare.GetHashCode());
            Debug.WriteLine("     {0} ({1})", TextureMan.pInstance, TextureMan.pInstance.GetHashCode());
#endif

            pMan.poNodeCompare   = null;
            TextureMan.pInstance = null;
        }
Esempio n. 2
0
        public static void Destroy()
        {
            TextureMan pTMan = TextureMan.PrivGetInstance();

            Debug.Assert(pTMan != null);

            pTMan.PrivStatDump();

#if (TRACK_DESTRUCTOR_MAN)
            Debug.WriteLine("TextureMan.Destroy()");
#endif
            pTMan.BaseDestroy();

#if (TRACK_DESTRUCTOR_MAN)
            Debug.WriteLine("{0} ({1})", pTMan.poTexCompare, pTMan.poTexCompare.GetHashCode());
            Debug.WriteLine("{0} ({1})", TextureMan.pInstance, TextureMan.pInstance.GetHashCode());
#endif

            pTMan.poTexCompare   = null;
            TextureMan.pInstance = null;
        }