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(org.joml.Matrix4fc initialPose, float x0, float y0, float width, float height, float depth) voidsetUvs(BakedGlyphExtension glyphExtension) updatePose(org.joml.Matrix4fc initialPose, float x, float y, float left, float up, 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
-
updatePose
public GlyphInstance updatePose(org.joml.Matrix4fc initialPose, float x, float y, float left, float up, boolean italic) -
setEffect
public GlyphInstance setEffect(org.joml.Matrix4fc initialPose, float x0, float y0, float width, float height, float depth) -
setUvs
-