Package codechicken.lib.gui.render
Class RenderStateUtils
java.lang.Object
codechicken.lib.gui.render.RenderStateUtils
Created by covers1624 on 4/11/26.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidblit(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, double x0, double x1, double y0, double y1, int rotation, float u0, float u1, float v0, float v1, int color) static voidblitDynamic(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, int xPos, int yPos, int xSize, int ySize, int topBorder, int leftBorder, int bottomBorder, int rightBorder, int color) static voidborderFill(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, double x0, double x1, double y0, double y1, double border, int borderColor, int fillColor) static voidemitQuad(com.mojang.blaze3d.vertex.VertexConsumer builder, org.joml.Matrix3x2f pose, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, int x, int y, float textureX, float textureY, int width, int height, int color) static voidfill(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, double xMin, double yMin, double xMax, double yMax, int color) static voidfillGradientH(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, double x0, double x1, double y0, double y1, int col1, int col2) static voidfillGradientV(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, double x0, double x1, double y0, double y1, int col1, int col2) static voidshadedFill(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, double x0, double x1, double y0, double y1, double border, int topLeftColor, int bottomRightColor, int cornerMixColor, int fillColor)
-
Constructor Details
-
RenderStateUtils
public RenderStateUtils()
-
-
Method Details
-
fill
public static void fill(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, double xMin, double yMin, double xMax, double yMax, int color) -
fillGradientH
public static void fillGradientH(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, double x0, double x1, double y0, double y1, int col1, int col2) -
fillGradientV
public static void fillGradientV(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, double x0, double x1, double y0, double y1, int col1, int col2) -
borderFill
public static void borderFill(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, double x0, double x1, double y0, double y1, double border, int borderColor, int fillColor) -
shadedFill
public static void shadedFill(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, double x0, double x1, double y0, double y1, double border, int topLeftColor, int bottomRightColor, int cornerMixColor, int fillColor) -
blit
public static void blit(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, double x0, double x1, double y0, double y1, int rotation, float u0, float u1, float v0, float v1, int color) -
blitDynamic
public static void blitDynamic(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, int xPos, int yPos, int xSize, int ySize, int topBorder, int leftBorder, int bottomBorder, int rightBorder, int color) -
emitQuad
public static void emitQuad(com.mojang.blaze3d.vertex.VertexConsumer builder, org.joml.Matrix3x2f pose, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, int x, int y, float textureX, float textureY, int width, int height, int color)
-