public Atlas(SmartTexture tx) {

    this.tx = tx;
    tx.atlas = this;

    namedFrames = new HashMap<Object, RectF>();
  }
 public static void reload() {
   for (SmartTexture tx : all.values()) {
     tx.reload();
   }
 }