Class BakedGlyph
java.lang.Object
net.minecraft.client.gui.font.glyphs.BakedGlyph
- Direct Known Subclasses:
EmptyGlyph
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final float
private final float
private final GlyphRenderTypes
private final float
private final float
private final float
private final float
private final float
private final float
-
Constructor Summary
ConstructorDescriptionBakedGlyph
(GlyphRenderTypes p_285527_, float p_285271_, float p_284970_, float p_285098_, float p_285023_, float p_285242_, float p_285043_, float p_285100_, float p_284948_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(boolean p_95227_, float p_95228_, float p_95229_, org.joml.Matrix4f p_253706_, VertexConsumer p_95231_, float p_95232_, float p_95233_, float p_95234_, float p_95235_, int p_95236_) void
renderEffect
(BakedGlyph.Effect p_95221_, org.joml.Matrix4f p_254370_, VertexConsumer p_95223_, int p_95224_) renderType
(Font.DisplayMode p_181388_)
-
Field Details
-
renderTypes
-
u0
private final float u0 -
u1
private final float u1 -
v0
private final float v0 -
v1
private final float v1 -
left
private final float left -
right
private final float right -
up
private final float up -
down
private final float down
-
-
Constructor Details
-
BakedGlyph
public BakedGlyph(GlyphRenderTypes p_285527_, float p_285271_, float p_284970_, float p_285098_, float p_285023_, float p_285242_, float p_285043_, float p_285100_, float p_284948_)
-
-
Method Details
-
render
public void render(boolean p_95227_, float p_95228_, float p_95229_, org.joml.Matrix4f p_253706_, VertexConsumer p_95231_, float p_95232_, float p_95233_, float p_95234_, float p_95235_, int p_95236_) -
renderEffect
public void renderEffect(BakedGlyph.Effect p_95221_, org.joml.Matrix4f p_254370_, VertexConsumer p_95223_, int p_95224_) -
renderType
-