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(org.joml.Matrix4fc initialPose, float x0, float y0, float width, float height, float depth)
     
    void
    setUvs(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, 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

    • 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

      public void setUvs(BakedGlyphExtension glyphExtension)