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

    Fields
    Modifier and Type
    Field
    Description
    int
     
    int
     
    final org.joml.Matrix4f
     

    Fields inherited from class dev.engine_room.flywheel.lib.instance.ColoredLitInstance

    alpha, blue, green, light, red

    Fields inherited from class dev.engine_room.flywheel.lib.instance.AbstractInstance

    handle, type
  • Constructor Summary

    Constructors
    Constructor
    Description
    GlyphInstance(dev.engine_room.flywheel.api.instance.InstanceType<? extends GlyphInstance> type, dev.engine_room.flywheel.api.instance.InstanceHandle handle)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    setEffect(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, light

    Methods inherited from class dev.engine_room.flywheel.lib.instance.AbstractInstance

    delete, handle, setChanged, setVisible, type

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface dev.engine_room.flywheel.lib.instance.FlatLit

    light

    Methods 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)