Class Texture
- java.lang.Object
-
- net.minecraft.client.renderer.texture.Texture
-
- All Implemented Interfaces:
java.lang.AutoCloseable
- Direct Known Subclasses:
AtlasTexture
,DynamicTexture
,FontTexture
,SimpleTexture
public abstract class Texture extends java.lang.Object implements java.lang.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
blur
protected int
id
private boolean
lastBlur
private boolean
lastMipmap
protected boolean
mipmap
-
Constructor Summary
Constructors Constructor Description Texture()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
bind()
void
close()
int
getId()
abstract void
load(IResourceManager p_195413_1_)
void
releaseId()
void
reset(TextureManager p_215244_1_, IResourceManager p_215244_2_, ResourceLocation p_215244_3_, java.util.concurrent.Executor p_215244_4_)
void
restoreLastBlurMipmap()
void
setBlurMipmap(boolean blur, boolean mipmap)
void
setFilter(boolean p_174937_1_, boolean p_174937_2_)
-
-
-
Method Detail
-
setFilter
public void setFilter(boolean p_174937_1_, boolean p_174937_2_)
-
setBlurMipmap
public void setBlurMipmap(boolean blur, boolean mipmap)
-
restoreLastBlurMipmap
public void restoreLastBlurMipmap()
-
getId
public int getId()
-
releaseId
public void releaseId()
-
load
public abstract void load(IResourceManager p_195413_1_) throws java.io.IOException
- Throws:
java.io.IOException
-
bind
public void bind()
-
reset
public void reset(TextureManager p_215244_1_, IResourceManager p_215244_2_, ResourceLocation p_215244_3_, java.util.concurrent.Executor p_215244_4_)
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
-