类 DynamicTexture
java.lang.Object
net.minecraft.client.renderer.texture.AbstractTexture
net.minecraft.client.renderer.texture.DynamicTexture
- 所有已实现的接口:
AutoCloseable
,Dumpable
-
字段概要
字段从类继承的字段 net.minecraft.client.renderer.texture.AbstractTexture
blur, id, mipmap, NOT_ASSIGNED
-
构造器概要
构造器构造器说明DynamicTexture
(int pWidth, int pHeight, boolean pUseCalloc) DynamicTexture
(NativeImage pPixels) -
方法概要
修饰符和类型方法说明void
close()
void
dumpContents
(ResourceLocation pResourceLocation, Path pPath) void
load
(ResourceManager pManager) void
setPixels
(NativeImage pPixels) void
upload()
从类继承的方法 net.minecraft.client.renderer.texture.AbstractTexture
bind, getId, releaseId, reset, restoreLastBlurMipmap, setBlurMipmap, setFilter
-
字段详细资料
-
LOGGER
private static final org.slf4j.Logger LOGGER -
pixels
-
-
构造器详细资料
-
DynamicTexture
-
DynamicTexture
public DynamicTexture(int pWidth, int pHeight, boolean pUseCalloc)
-
-
方法详细资料
-
load
- 指定者:
load
在类中AbstractTexture
-
upload
public void upload() -
getPixels
-
setPixels
-
close
public void close()- 指定者:
close
在接口中AutoCloseable
- 覆盖:
close
在类中AbstractTexture
-
dumpContents
- 指定者:
dumpContents
在接口中Dumpable
- 抛出:
IOException
-