Class InstancedFontRenderer


  • public class InstancedFontRenderer
    extends java.lang.Object
    Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void appendBoldQuad​(int x, int y, int cx, int cy, int color, boolean italic)  
      static void appendQuad​(int x, int y, int cx, int cy, int color, boolean italic)  
      static void begin()  
      static void render​(float charWidth, float charHeight, float charCoordWidth, float charCoordHeight, boolean shadow)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • vertexShaderPath

        public static final java.lang.String vertexShaderPath
        See Also:
        Constant Field Values
      • fragmentShaderPath

        public static final java.lang.String fragmentShaderPath
        See Also:
        Constant Field Values
    • Constructor Detail

      • InstancedFontRenderer

        public InstancedFontRenderer()
    • Method Detail

      • begin

        public static void begin()
      • render

        public static void render​(float charWidth,
                                  float charHeight,
                                  float charCoordWidth,
                                  float charCoordHeight,
                                  boolean shadow)
      • appendQuad

        public static void appendQuad​(int x,
                                      int y,
                                      int cx,
                                      int cy,
                                      int color,
                                      boolean italic)
      • appendBoldQuad

        public static void appendBoldQuad​(int x,
                                          int y,
                                          int cx,
                                          int cy,
                                          int color,
                                          boolean italic)