Class DynamicTexture
java.lang.Object
net.minecraft.client.renderer.texture.AbstractTexture
net.minecraft.client.renderer.texture.DynamicTexture
- All Implemented Interfaces:
- AutoCloseable,- Dumpable
- 
Field SummaryFieldsFields inherited from class net.minecraft.client.renderer.texture.AbstractTextureblur, id, mipmap, NOT_ASSIGNED
- 
Constructor SummaryConstructorsConstructorDescriptionDynamicTexture(int p_117980_, int p_117981_, boolean p_117982_) DynamicTexture(NativeImage p_117984_) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()voiddumpContents(ResourceLocation p_276119_, Path p_276105_) voidload(ResourceManager p_117987_) voidsetPixels(NativeImage p_117989_) voidupload()Methods inherited from class net.minecraft.client.renderer.texture.AbstractTexturebind, getId, releaseId, reset, restoreLastBlurMipmap, setBlurMipmap, setFilter
- 
Field Details- 
LOGGERprivate static final org.slf4j.Logger LOGGER
- 
pixels
 
- 
- 
Constructor Details- 
DynamicTexture
- 
DynamicTexturepublic DynamicTexture(int p_117980_, int p_117981_, boolean p_117982_) 
 
- 
- 
Method Details- 
load- Specified by:
- loadin class- AbstractTexture
 
- 
uploadpublic void upload()
- 
getPixels
- 
setPixels
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
- Overrides:
- closein class- AbstractTexture
 
- 
dumpContents- Specified by:
- dumpContentsin interface- Dumpable
- Throws:
- IOException
 
 
-