@Environment(value=CLIENT) public class GlyphAtlasTexture extends AbstractTexture implements Closeable
Modifier and Type | Class and Description |
---|---|
(package private) static class |
GlyphAtlasTexture.Slot |
Modifier and Type | Field and Description |
---|---|
private RenderLayer |
field_21690 |
private RenderLayer |
field_21691 |
private boolean |
hasColor |
private Identifier |
id |
private GlyphAtlasTexture.Slot |
rootSlot |
bilinear, glId, mipmap
Constructor and Description |
---|
GlyphAtlasTexture(Identifier id,
boolean hasColor) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
GlyphRenderer |
getGlyphRenderer(RenderableGlyph glyph) |
Identifier |
getId() |
void |
load(ResourceManager manager) |
bindTexture, clearGlId, getGlId, registerTexture, setFilter
private final Identifier id
private final RenderLayer field_21690
private final RenderLayer field_21691
private final boolean hasColor
private final GlyphAtlasTexture.Slot rootSlot
public GlyphAtlasTexture(Identifier id, boolean hasColor)
public void load(ResourceManager manager)
load
in class AbstractTexture
public void close()
close
in interface Closeable
close
in interface AutoCloseable
@Nullable public GlyphRenderer getGlyphRenderer(RenderableGlyph glyph)
public Identifier getId()