package net.minecraft.client.renderer;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import java.awt.image.BufferedImage;
@SideOnly(Side.CLIENT)
public class ThreadDownloadImageData
{
/** The image data. */
public BufferedImage image;
/** Number of open references to this ThreadDownloadImageData */
public int referenceCount = 1;
/**
* The GL texture name associated with this image, or -1 if the texture has not been allocated
*/
public int textureName = -1;
/**
* True if the texture has been allocated and the image copied to the texture. This is reset if global rendering
* settings change, so that setupTexture will be called again.
*/
public boolean textureSetupComplete = false;
public ThreadDownloadImageData(String par1, IImageBuffer par2IImageBuffer)
{
(new ThreadDownloadImage(this, par1, par2IImageBuffer)).start();
}
}