Class Renderer2D

java.lang.Object
meteordevelopment.meteorclient.renderer.Renderer2D

public class Renderer2D extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static Renderer2D
     
    final Mesh
     
    static Renderer2D
     
    final Mesh
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Renderer2D(boolean texture)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    boxLines(double x, double y, double width, double height, Color color)
     
    void
    end()
     
    static void
     
    void
    line(double x1, double y1, double x2, double y2, Color color)
     
    void
    quad(double x, double y, double width, double height, Color color)
     
    void
    quad(double x, double y, double width, double height, Color cTopLeft, Color cTopRight, Color cBottomRight, Color cBottomLeft)
     
    void
    render(net.minecraft.client.util.math.MatrixStack matrices)
     
    void
    setAlpha(double alpha)
     
    void
    texQuad(double x, double y, double width, double height, double rotation, double texX1, double texY1, double texX2, double texY2, Color color)
     
    void
    texQuad(double x, double y, double width, double height, double rotation, TextureRegion region, Color color)
     
    void
    texQuad(double x, double y, double width, double height, TextureRegion texture, Color color)
     
    void
    texQuad(double x, double y, double width, double height, Color color)
     

    Methods inherited from class java.lang.Object

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

    • COLOR

      public static Renderer2D COLOR
    • TEXTURE

      public static Renderer2D TEXTURE
    • triangles

      public final Mesh triangles
    • lines

      public final Mesh lines
  • Constructor Details

    • Renderer2D

      public Renderer2D(boolean texture)
  • Method Details

    • init

      public static void init()
    • setAlpha

      public void setAlpha(double alpha)
    • begin

      public void begin()
    • end

      public void end()
    • render

      public void render(net.minecraft.client.util.math.MatrixStack matrices)
    • line

      public void line(double x1, double y1, double x2, double y2, Color color)
    • boxLines

      public void boxLines(double x, double y, double width, double height, Color color)
    • quad

      public void quad(double x, double y, double width, double height, Color cTopLeft, Color cTopRight, Color cBottomRight, Color cBottomLeft)
    • quad

      public void quad(double x, double y, double width, double height, Color color)
    • texQuad

      public void texQuad(double x, double y, double width, double height, Color color)
    • texQuad

      public void texQuad(double x, double y, double width, double height, TextureRegion texture, Color color)
    • texQuad

      public void texQuad(double x, double y, double width, double height, double rotation, double texX1, double texY1, double texX2, double texY2, Color color)
    • texQuad

      public void texQuad(double x, double y, double width, double height, double rotation, TextureRegion region, Color color)