Package dev.engine_room.vanillin
Class GlyphInstance
java.lang.Object
dev.engine_room.flywheel.lib.instance.AbstractInstance
dev.engine_room.flywheel.lib.instance.ColoredLitInstance
dev.engine_room.vanillin.GlyphInstance
- All Implemented Interfaces:
dev.engine_room.flywheel.api.instance.Instance,dev.engine_room.flywheel.lib.instance.FlatLit
public class GlyphInstance
extends dev.engine_room.flywheel.lib.instance.ColoredLitInstance
-
Field Summary
FieldsFields inherited from class dev.engine_room.flywheel.lib.instance.ColoredLitInstance
alpha, blue, green, light, redFields inherited from class dev.engine_room.flywheel.lib.instance.AbstractInstance
handle, type -
Constructor Summary
ConstructorsConstructorDescriptionGlyphInstance(dev.engine_room.flywheel.api.instance.InstanceType<? extends GlyphInstance> type, dev.engine_room.flywheel.api.instance.InstanceHandle handle) -
Method Summary
Modifier and TypeMethodDescriptionsetEffect(net.minecraft.client.gui.font.glyphs.BakedGlyph glyph, org.joml.Matrix4fc initialPose, float x0, float y0, float x1, float y1, float depth) setGlyph(net.minecraft.client.gui.font.glyphs.BakedGlyph glyph, org.joml.Matrix4fc initialPose, float x, float y, boolean italic) Methods inherited from class dev.engine_room.flywheel.lib.instance.ColoredLitInstance
color, color, color, color, color, color, colorArgb, colorRgb, lightMethods inherited from class dev.engine_room.flywheel.lib.instance.AbstractInstance
delete, handle, setChanged, setVisible, typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.engine_room.flywheel.lib.instance.FlatLit
lightMethods inherited from interface dev.engine_room.flywheel.api.instance.Instance
delete, handle, setChanged, setVisible, type
-
Field Details
-
pose
public final org.joml.Matrix4f pose -
packedUs
public int packedUs -
packedVs
public int packedVs
-
-
Constructor Details
-
GlyphInstance
public GlyphInstance(dev.engine_room.flywheel.api.instance.InstanceType<? extends GlyphInstance> type, dev.engine_room.flywheel.api.instance.InstanceHandle handle)
-
-
Method Details
-
setGlyph
public GlyphInstance setGlyph(net.minecraft.client.gui.font.glyphs.BakedGlyph glyph, org.joml.Matrix4fc initialPose, float x, float y, boolean italic) -
setEffect
public GlyphInstance setEffect(net.minecraft.client.gui.font.glyphs.BakedGlyph glyph, org.joml.Matrix4fc initialPose, float x0, float y0, float x1, float y1, float depth)
-