public static Texture add(Texture.TextureName texureName, string azulTex) { TextureManager texManInst = TextureManager.getSingletonInstance(); Debug.Assert(texManInst != null); Texture nodeAdded = (Texture)texManInst.genericAdd(); Debug.Assert(nodeAdded != null); //set the attributes of the Image node nodeAdded.setAll(texureName, azulTex); return(nodeAdded); }