code: public void attachTo(Texture texture) {
          final int width = image.getWidth();
          final int height = image.getHeight();
          texture.setImageData(CausticUtil.getImageData(image, Format.RGBA), width, height);
      }
docs: Sets the image data of the provided {@link Texture} with the image data found in this {@link TextureAtlas}. This should be called after all textures have been added to the {@link
  TextureAtlas}.
  
  @param texture Texture to set image data