public static Texture Find(TextureName texName) { TextureManager texMan = TextureManager.GetInstance(); return((Texture)texMan.BaseFind((DLink) new Texture { name = texName })); }
public static void Dump() { TextureManager pMan = TextureManager.GetInstance(); Debug.Assert(pMan != null); Debug.WriteLine("***********Texture Lists************"); pMan.BaseDump(); }
public static void Remove(Texture pNode) { TextureManager pMan = TextureManager.GetInstance(); Debug.Assert(pMan != null); Debug.Assert(pNode != null); pMan.BaseRemove(pNode); }
public static Texture Add(TextureName texName, string assetName) { TextureManager texMan = TextureManager.GetInstance(); Texture tex = (Texture)texMan.BaseAdd(); Debug.Assert(tex != null); tex.Set(texName, assetName); return(tex); }
public static Texture Find(Texture.Name name) { TextureManager pMan = TextureManager.GetInstance(); Debug.Assert(pMan != null); pMan.pNodeCompare.SetName(name); Texture pData = (Texture)pMan.BaseFind(pMan.pNodeCompare); return(pData); }
public static void Destroy() { TextureManager pMan = TextureManager.GetInstance(); Debug.Assert(pMan != null); // Do something clever here // track peak number of active nodes // print stats on destroy // invalidate the singleton }
public static Texture Add(Texture.Name name, string pTextureName) { TextureManager pMan = TextureManager.GetInstance(); Debug.Assert(pMan != null); Texture pNode = (Texture)pMan.BaseAdd(); Debug.Assert(pNode != null); // Initialize the data Debug.Assert(pTextureName != null); pNode.Set(name, pTextureName); return(pNode); }
public static void Remove(DLink pNode) { TextureManager texMan = TextureManager.GetInstance(); texMan.BaseRemove(pNode); }
public static void Dump() { TextureManager texMan = TextureManager.GetInstance(); texMan.BaseDump(); }
public static void Destroy() { TextureManager textureMan = TextureManager.GetInstance(); textureMan.BaseDestroy(); }