public class FontTexture extends Texture implements java.io.Closeable
Modifier and Type | Class and Description |
---|---|
(package private) static class |
FontTexture.Entry |
Modifier and Type | Field and Description |
---|---|
private boolean |
colored |
private FontTexture.Entry |
entry |
private RenderType |
field_228158_e_ |
private RenderType |
field_228159_f_ |
private ResourceLocation |
textureLocation |
blur, glTextureId, mipmap
Constructor and Description |
---|
FontTexture(ResourceLocation resourceLocationIn,
boolean coloredIn) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
TexturedGlyph |
createTexturedGlyph(IGlyphInfo glyphInfoIn) |
ResourceLocation |
getTextureLocation() |
void |
loadTexture(IResourceManager manager) |
bindTexture, deleteGlTexture, getGlTextureId, loadTexture, restoreLastBlurMipmap, setBlurMipmap, setBlurMipmapDirect
private final ResourceLocation textureLocation
private final RenderType field_228158_e_
private final RenderType field_228159_f_
private final boolean colored
private final FontTexture.Entry entry
public FontTexture(ResourceLocation resourceLocationIn, boolean coloredIn)
public void loadTexture(IResourceManager manager)
loadTexture
in class Texture
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
@Nullable public TexturedGlyph createTexturedGlyph(IGlyphInfo glyphInfoIn)
public ResourceLocation getTextureLocation()