Class DynamicTexture
java.lang.Object
net.minecraft.client.renderer.texture.AbstractTexture
net.minecraft.client.renderer.texture.DynamicTexture
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
Modifier and TypeFieldDescriptionprivate static org.apache.logging.log4j.Logger
private NativeImage
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
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.apache.logging.log4j.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
-