Class DynamicTexture
java.lang.Object
net.minecraft.client.renderer.texture.AbstractTexture
net.minecraft.client.renderer.texture.DynamicTexture
- All Implemented Interfaces:
AutoCloseable
,Dumpable
-
Field Summary
Fields inherited from class net.minecraft.client.renderer.texture.AbstractTexture
blur, id, mipmap, NOT_ASSIGNED
-
Constructor Summary
ConstructorDescriptionDynamicTexture
(int p_117980_, int p_117981_, boolean p_117982_) DynamicTexture
(NativeImage p_117984_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
dumpContents
(ResourceLocation p_276119_, Path p_276105_) void
load
(ResourceManager p_117987_) void
setPixels
(NativeImage p_117989_) void
upload()
Methods inherited from class net.minecraft.client.renderer.texture.AbstractTexture
bind, getId, releaseId, reset, restoreLastBlurMipmap, setBlurMipmap, setFilter
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
pixels
-
-
Constructor Details
-
DynamicTexture
-
DynamicTexture
public DynamicTexture(int p_117980_, int p_117981_, boolean p_117982_)
-
-
Method Details
-
load
- Specified by:
load
in classAbstractTexture
-
upload
public void upload() -
getPixels
-
setPixels
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in classAbstractTexture
-
dumpContents
- Specified by:
dumpContents
in interfaceDumpable
- Throws:
IOException
-