public class ThreadDownloadImageData extends SimpleTexture
textureLocation
blur, blurLast, glTextureId, mipmap, mipmapLast
Constructor and Description |
---|
ThreadDownloadImageData(java.io.File cacheFileIn,
java.lang.String imageUrlIn,
ResourceLocation textureResourceLocation,
IImageBuffer imageBufferIn) |
Modifier and Type | Method and Description |
---|---|
int |
getGlTextureId() |
void |
loadTexture(IResourceManager resourceManager) |
protected void |
loadTextureFromServer() |
void |
setBufferedImage(java.awt.image.BufferedImage bufferedImageIn) |
deleteGlTexture, restoreLastBlurMipmap, setBlurMipmap, setBlurMipmapDirect
public ThreadDownloadImageData(@Nullable java.io.File cacheFileIn, java.lang.String imageUrlIn, ResourceLocation textureResourceLocation, @Nullable IImageBuffer imageBufferIn)
public int getGlTextureId()
getGlTextureId
in interface ITextureObject
getGlTextureId
in class AbstractTexture
public void setBufferedImage(java.awt.image.BufferedImage bufferedImageIn)
public void loadTexture(IResourceManager resourceManager) throws java.io.IOException
loadTexture
in interface ITextureObject
loadTexture
in class SimpleTexture
java.io.IOException
protected void loadTextureFromServer()