public static Texture Find(TextureName texName) { TextureManager texMan = TextureManager.GetInstance(); return((Texture)texMan.BaseFind((DLink) new Texture { name = texName })); }
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 Texture Find(Texture.Name name) { TextureManager pMan = TextureManager.PrivGetInstance(); Debug.Assert(pMan != null); // Use compare node to compare to search nodes pMan.pTextureCompare.SetName(name); Texture pData = (Texture)pMan.BaseFind(pMan.pTextureCompare); return(pData); }
public static Texture Find(Texture.Name name) { TextureManager pMan = TextureManager.PrivGetInstance(); Debug.Assert(pMan != null); pMan.poCompareNode.name = name; Texture pData = (Texture)pMan.BaseFind(pMan.poCompareNode); Debug.Assert(pData != null); return(pData); }
public static Texture Find(Texture.Name name) { TextureManager pMan = TextureManager.PrivGetInstance(); Debug.Assert(pMan != null); // So: Use the Compare Node - as a reference // use in the Compare() function pMan.poNodeCompare.SetName(name); Texture pData = (Texture)pMan.BaseFind(pMan.poNodeCompare); return(pData); }