Class Renderer2D

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

public class Renderer2D extends Object
  • Field Summary

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

    Constructors
    Constructor
    Description
    Renderer2D(boolean textured)
     
  • 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
     
    void
    render(com.mojang.blaze3d.textures.GpuTextureView textureView, com.mojang.blaze3d.textures.GpuSampler sampler)
     
    void
    render(String samplerName, com.mojang.blaze3d.textures.GpuTextureView samplerView, com.mojang.blaze3d.textures.GpuSampler sampler)
     
    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)
     
    void
    triangle(double x1, double y1, double x2, double y2, double x3, double y3, Color color)
     

    Methods inherited from class Object

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

  • Constructor Details

    • Renderer2D

      public Renderer2D(boolean textured)
  • 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()
    • render

      public void render(com.mojang.blaze3d.textures.GpuTextureView textureView, com.mojang.blaze3d.textures.GpuSampler sampler)
    • render

      public void render(String samplerName, com.mojang.blaze3d.textures.GpuTextureView samplerView, com.mojang.blaze3d.textures.GpuSampler sampler)
    • triangle

      public void triangle(double x1, double y1, double x2, double y2, double x3, double y3, Color color)
    • 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)