Class DynamicTexture
- java.lang.Object
-
- net.minecraft.client.renderer.texture.Texture
-
- net.minecraft.client.renderer.texture.DynamicTexture
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class DynamicTexture extends Texture
-
-
Constructor Summary
Constructors Constructor Description DynamicTexture(int p_i48125_1_, int p_i48125_2_, boolean p_i48125_3_)
DynamicTexture(NativeImage p_i48124_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
NativeImage
getPixels()
void
load(IResourceManager p_195413_1_)
void
setPixels(NativeImage p_195415_1_)
void
upload()
-
Methods inherited from class net.minecraft.client.renderer.texture.Texture
bind, getId, releaseId, reset, restoreLastBlurMipmap, setBlurMipmap, setFilter
-
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
pixels
@Nullable private NativeImage pixels
-
-
Constructor Detail
-
DynamicTexture
public DynamicTexture(NativeImage p_i48124_1_)
-
DynamicTexture
public DynamicTexture(int p_i48125_1_, int p_i48125_2_, boolean p_i48125_3_)
-
-
Method Detail
-
load
public void load(IResourceManager p_195413_1_)
-
upload
public void upload()
-
getPixels
@Nullable public NativeImage getPixels()
-
setPixels
public void setPixels(NativeImage p_195415_1_)
-
-