Class AbstractTexture
java.lang.Object
net.minecraft.client.renderer.texture.AbstractTexture
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
DynamicTexture
,FontTexture
,SimpleTexture
,TextureAtlas
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected int
private boolean
private boolean
protected boolean
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
bind()
void
close()
int
getId()
abstract void
load
(ResourceManager p_117955_) void
void
reset
(TextureManager p_117956_, ResourceManager p_117957_, ResourceLocation p_117958_, Executor p_117959_) void
void
setBlurMipmap
(boolean blur, boolean mipmap) void
setFilter
(boolean p_117961_, boolean p_117962_)
-
Field Details
-
NOT_ASSIGNED
public static final int NOT_ASSIGNED- See Also:
-
id
protected int id -
blur
protected boolean blur -
mipmap
protected boolean mipmap -
lastBlur
private boolean lastBlur -
lastMipmap
private boolean lastMipmap
-
-
Constructor Details
-
AbstractTexture
public AbstractTexture()
-
-
Method Details
-
setFilter
public void setFilter(boolean p_117961_, boolean p_117962_) -
setBlurMipmap
public void setBlurMipmap(boolean blur, boolean mipmap) -
restoreLastBlurMipmap
public void restoreLastBlurMipmap() -
getId
public int getId() -
releaseId
public void releaseId() -
load
- Throws:
IOException
-
bind
public void bind() -
reset
public void reset(TextureManager p_117956_, ResourceManager p_117957_, ResourceLocation p_117958_, Executor p_117959_) -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-