public static Texture Find(Texture.Name name) { TextureMan pTMan = TextureMan.PrivGetInstance(); Debug.Assert(pTMan != null); pTMan.poTexCompare.SetName(name); Texture pTNode = (Texture)pTMan.BaseFind(pTMan.poTexCompare); return(pTNode); }
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 Texture Find(Texture.Name name) { TextureMan pMan = TextureMan.PrivGetInstance(); Debug.Assert(pMan != null); // Compare functions only compares two Nodes // 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); }