public static Texture Add(Texture.Name textureName, string pTextureName) { TextureManager pMan = privGetInstance(); Debug.Assert(pMan != null); Texture pNode = (Texture)pMan.baseAddToFront(); Debug.Assert(pNode != null); // set the data pNode.Set(textureName, pTextureName); return(pNode); }