@Environment(value=CLIENT) public class ResourceTexture extends AbstractTexture
| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceTexture.TextureData |
| Modifier and Type | Field and Description |
|---|---|
protected Identifier |
location |
private static Logger |
LOGGER |
bilinear, glId, mipmap| Constructor and Description |
|---|
ResourceTexture(Identifier location) |
| Modifier and Type | Method and Description |
|---|---|
void |
load(ResourceManager manager) |
protected ResourceTexture.TextureData |
loadTextureData(ResourceManager resourceManager) |
private void |
method_22810(NativeImage nativeImage,
boolean bool,
boolean bool2) |
bindTexture, clearGlId, getGlId, registerTexture, setFilterprivate static final Logger LOGGER
protected final Identifier location
public ResourceTexture(Identifier location)
public void load(ResourceManager manager) throws IOException
load in class AbstractTextureIOExceptionprivate void method_22810(NativeImage nativeImage, boolean bool, boolean bool2)
protected ResourceTexture.TextureData loadTextureData(ResourceManager resourceManager)