Package net.minecraft.client.font
Class GlyphAtlasTexture
java.lang.Object
net.minecraft.client.texture.AbstractTexture
net.minecraft.client.font.GlyphAtlasTexture
- All Implemented Interfaces:
AutoCloseable
@Environment(CLIENT) public class GlyphAtlasTexture extends AbstractTexture
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
GlyphAtlasTexture.Slot
-
Field Summary
Fields Modifier and Type Field Description private boolean
hasColor
private Identifier
id
private GlyphAtlasTexture.Slot
rootSlot
private RenderLayer
seeThroughTextLayer
private RenderLayer
textLayer
Fields inherited from class net.minecraft.client.texture.AbstractTexture
bilinear, glId, mipmap
-
Constructor Summary
Constructors Constructor Description GlyphAtlasTexture(Identifier id, boolean hasColor)
-
Method Summary
Modifier and Type Method Description void
close()
GlyphRenderer
getGlyphRenderer(RenderableGlyph glyph)
Identifier
getId()
void
load(ResourceManager manager)
Methods inherited from class net.minecraft.client.texture.AbstractTexture
bindTexture, clearGlId, getGlId, registerTexture, setFilter
-
Field Details
-
id
-
textLayer
-
seeThroughTextLayer
-
hasColor
private final boolean hasColor -
rootSlot
-
-
Constructor Details
-
GlyphAtlasTexture
-
-
Method Details
-
load
- Specified by:
load
in classAbstractTexture
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in classAbstractTexture
-
getGlyphRenderer
-
getId
-