public class SimpleTexture extends Texture
| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleTexture.TextureData |
| Modifier and Type | Field and Description |
|---|---|
private static org.apache.logging.log4j.Logger |
LOGGER |
protected ResourceLocation |
textureLocation |
blur, glTextureId, mipmap| Constructor and Description |
|---|
SimpleTexture(ResourceLocation textureResourceLocation) |
| Modifier and Type | Method and Description |
|---|---|
protected SimpleTexture.TextureData |
getTextureData(IResourceManager resourceManager) |
private void |
loadImage(NativeImage imageIn,
boolean blurIn,
boolean clampIn) |
void |
loadTexture(IResourceManager manager) |
bindTexture, deleteGlTexture, getGlTextureId, loadTexture, restoreLastBlurMipmap, setBlurMipmap, setBlurMipmapDirectprivate static final org.apache.logging.log4j.Logger LOGGER
protected final ResourceLocation textureLocation
public SimpleTexture(ResourceLocation textureResourceLocation)
public void loadTexture(IResourceManager manager) throws java.io.IOException
loadTexture in class Texturejava.io.IOExceptionprivate void loadImage(NativeImage imageIn, boolean blurIn, boolean clampIn)
protected SimpleTexture.TextureData getTextureData(IResourceManager resourceManager)