com.mojang.blaze3d.textures

public interface GpuTexture

extends AutoCloseable

com.mojang.renderpearl.api.textures.GpuTexture
net.minecraft.class_1_1318
com.mojang.blaze3d.textures.GpuTexture

Field summary

Modifier and TypeField
int
USAGE_COPY_DST
field_1_9060
USAGE_COPY_DST
int
USAGE_COPY_SRC
field_1_9061
USAGE_COPY_SRC
int
USAGE_TEXTURE_BINDING
field_1_9064
USAGE_TEXTURE_BINDING
int
USAGE_RENDER_ATTACHMENT
field_1_9063
USAGE_RENDER_ATTACHMENT
int
USAGE_CUBEMAP_COMPATIBLE
field_1_9062
USAGE_CUBEMAP_COMPATIBLE

Method summary

Modifier and TypeMethod
int
getWidth(int mipLevel)
method_1_7822(int arg0)
getWidth(int mipmap)
int
getHeight(int mipLevel)
method_1_7819(int arg0)
getHeight(int mipmap)
int
getDepthOrLayers()
method_1_7817()
getDepthOrLayers()
int
getMipLevels()
method_1_7821()
getMipLevels()
TexelFormat
getFormat()
method_1_7818()
getTexelFormat()
int
usage()
method_1_7824()
getUsage()
String
getLabel()
method_1_7820()
getLabel()
void
close()
boolean
isClosed()
method_1_7823()
isClosed()