public static void Dump()
        {
            TextureMan pMan = TextureMan.privGetInstance();

            Debug.Assert(pMan != null);

            pMan.baseDump();
        }
        public static void Remove(Texture pNode)
        {
            TextureMan pMan = TextureMan.privGetInstance();

            Debug.Assert(pMan != null);

            Debug.Assert(pNode != null);
            pMan.baseRemove(pNode);
        }
        public static Texture Find(Texture.Name name)
        {
            TextureMan pMan = TextureMan.privGetInstance();

            Debug.Assert(pMan != null);

            pMan.poNodeCompare.name = name;

            Texture pData = (Texture)pMan.baseFind(pMan.poNodeCompare);

            return(pData);
        }
        public static void Destroy()
        {
            TextureMan pMan = TextureMan.privGetInstance();

            Debug.Assert(pMan != null);

            // Print stats on destroy
            pMan.baseDump();

            // Invalidate the singleton
            if (pInstance != null)
            {
                pInstance = null;
            }
        }
        public static Texture Add(Texture.Name name, string pTextureName)
        {
            TextureMan pMan = TextureMan.privGetInstance();

            Debug.Assert(pMan != null);

            Texture pNode = (Texture)pMan.baseAdd();

            Debug.Assert(pNode != null);

            // Check the data initialization
            Debug.Assert(pTextureName != null);

            pNode.Set(name, pTextureName);
            return(pNode);
        }