Class Renderer2D
java.lang.Object
meteordevelopment.meteorclient.renderer.Renderer2D
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbegin()voidvoidend()static voidinit()voidvoidvoidquad(double x, double y, double width, double height, Color cTopLeft, Color cTopRight, Color cBottomRight, Color cBottomLeft) voidrender(net.minecraft.client.util.math.MatrixStack matrices) voidsetAlpha(double alpha) voidtexQuad(double x, double y, double width, double height, double rotation, double texX1, double texY1, double texX2, double texY2, Color color) voidtexQuad(double x, double y, double width, double height, double rotation, TextureRegion region, Color color) voidtexQuad(double x, double y, double width, double height, TextureRegion texture, Color color) void
-
Field Details
-
COLOR
-
TEXTURE
-
triangles
-
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
-
boxLines
-
quad
-
quad
-
texQuad
-
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)
-