public abstract class Texture
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
blur |
protected int |
glTextureId |
private boolean |
lastBlur |
private boolean |
lastMipmap |
protected boolean |
mipmap |
Constructor and Description |
---|
Texture() |
Modifier and Type | Method and Description |
---|---|
void |
bindTexture() |
void |
deleteGlTexture() |
int |
getGlTextureId() |
abstract void |
loadTexture(IResourceManager manager) |
void |
loadTexture(TextureManager textureManagerIn,
IResourceManager resourceManagerIn,
ResourceLocation resourceLocationIn,
java.util.concurrent.Executor executorIn) |
void |
restoreLastBlurMipmap() |
void |
setBlurMipmap(boolean blur,
boolean mipmap) |
void |
setBlurMipmapDirect(boolean blurIn,
boolean mipmapIn) |
protected int glTextureId
protected boolean blur
protected boolean mipmap
private boolean lastBlur
private boolean lastMipmap
public void setBlurMipmapDirect(boolean blurIn, boolean mipmapIn)
public void setBlurMipmap(boolean blur, boolean mipmap)
public void restoreLastBlurMipmap()
public int getGlTextureId()
public void deleteGlTexture()
public abstract void loadTexture(IResourceManager manager) throws java.io.IOException
java.io.IOException
public void bindTexture()
public void loadTexture(TextureManager textureManagerIn, IResourceManager resourceManagerIn, ResourceLocation resourceLocationIn, java.util.concurrent.Executor executorIn)