Class BakedGlyph
java.lang.Object
net.minecraft.client.gui.font.glyphs.BakedGlyph
- Direct Known Subclasses:
EmptyGlyph
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier 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
ConstructorsConstructorDescriptionBakedGlyph
(GlyphRenderTypes pRenderTypes, float pU0, float pU1, float pV0, float pV1, float pLeft, float pRight, float pUp, float pDown) -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(boolean pItalic, float pX, float pY, org.joml.Matrix4f pMatrix, VertexConsumer pBuffer, float pRed, float pGreen, float pBlue, float pAlpha, int pPackedLight) void
renderEffect
(BakedGlyph.Effect pEffect, org.joml.Matrix4f pMatrix, VertexConsumer pBuffer, int pPackedLight) renderType
(Font.DisplayMode pDisplayMode)
-
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 pRenderTypes, float pU0, float pU1, float pV0, float pV1, float pLeft, float pRight, float pUp, float pDown)
-
-
Method Details
-
render
public void render(boolean pItalic, float pX, float pY, org.joml.Matrix4f pMatrix, VertexConsumer pBuffer, float pRed, float pGreen, float pBlue, float pAlpha, int pPackedLight) -
renderEffect
public void renderEffect(BakedGlyph.Effect pEffect, org.joml.Matrix4f pMatrix, VertexConsumer pBuffer, int pPackedLight) -
renderType
-