com.github.vini2003.blade.client.utilities.Layers.Companion

Here are the examples of the java api com.github.vini2003.blade.client.utilities.Layers.Companion taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

10 Examples 7

14 Source : BaseRenderer.java
with MIT License
from Mixinors

public static void drawPanel(MatrixStack matrices, VertexConsumerProvider provider, float x, float y, float sX, float sY, Color shadow, Color panel, Color hilight, Color outline) {
    matrices.push();
    drawPanel(matrices, provider, Layers.Companion.flat(), x, y, sX, sY, shadow, panel, hilight, outline);
    matrices.pop();
}

14 Source : BaseRenderer.java
with MIT License
from Mixinors

public static void drawQuad(MatrixStack matrices, VertexConsumerProvider provider, float x, float y, float sX, float sY, Color color) {
    matrices.push();
    drawQuad(matrices, provider, Layers.Companion.flat(), x, y, sX, sY, 0x00f000f0, color);
    matrices.pop();
}

14 Source : BaseRenderer.java
with MIT License
from Mixinors

public static void drawTooltip(MatrixStack matrices, VertexConsumerProvider provider, float x, float y, float width, float height, Color shadowStart, Color shadowEnd, Color backgroundStart, Color backgroundEnd, Color outlineStart, Color outlineEnd) {
    matrices.push();
    drawTooltip(matrices, provider, Layers.Companion.tooltip(), x, y, width, height, shadowStart, shadowEnd, backgroundStart, backgroundEnd, outlineStart, outlineEnd);
    matrices.pop();
}

14 Source : BaseRenderer.java
with MIT License
from Mixinors

public static void drawGradientQuad(MatrixStack matrices, VertexConsumerProvider provider, float startX, float startY, float endX, float endY, int light, Color colorStart, Color colorEnd) {
    matrices.push();
    drawGradientQuad(matrices, provider, Layers.Companion.flat(), startX, startY, endX, endY, 0, 0, 1, 1, light, colorStart, colorEnd, false);
    matrices.pop();
}

14 Source : BaseRenderer.java
with MIT License
from Mixinors

public static void drawGradientQuad(MatrixStack matrices, VertexConsumerProvider provider, float startX, float startY, float endX, float endY, Color colorStart, Color colorEnd) {
    matrices.push();
    drawGradientQuad(matrices, provider, Layers.Companion.flat(), startX, startY, endX, endY, 0, 0, 1, 1, 0x00f000f0, colorStart, colorEnd, false);
    matrices.pop();
}

14 Source : BaseRenderer.java
with MIT License
from Mixinors

public static void drawTexturedQuad(MatrixStack matrices, VertexConsumerProvider provider, float x, float y, float sX, float sY, int light, Color color, Identifier texture) {
    matrices.push();
    drawTexturedQuad(matrices, provider, Layers.Companion.get(texture), x, y, sX, sY, 0, 0, 1, 1, light, color, texture);
    matrices.pop();
}

14 Source : BaseRenderer.java
with MIT License
from Mixinors

public static void drawBeveledPanel(MatrixStack matrices, VertexConsumerProvider provider, float x, float y, float sX, float sY, Color topleft, Color panel, Color bottomright) {
    matrices.push();
    drawBeveledPanel(matrices, provider, Layers.Companion.flat(), x, y, sX, sY, 0x00f000f0, topleft, panel, bottomright);
    matrices.pop();
}

14 Source : BaseRenderer.java
with MIT License
from Mixinors

public static void drawTexturedQuad(MatrixStack matrices, VertexConsumerProvider provider, float x, float y, float sX, float sY, float u0, float v0, float u1, float v1, int light, Color color, Identifier texture) {
    matrices.push();
    drawTexturedQuad(matrices, provider, Layers.Companion.get(texture), x, y, sX, sY, u0, v0, u1, v1, light, color, texture);
    matrices.pop();
}

14 Source : BaseRenderer.java
with MIT License
from Mixinors

public static void drawTexturedQuad(MatrixStack matrices, VertexConsumerProvider provider, float x, float y, float sX, float sY, Color color, Identifier texture) {
    matrices.push();
    drawTexturedQuad(matrices, provider, Layers.Companion.get(texture), x, y, sX, sY, 0, 0, 1, 1, 0x00f000f0, color, texture);
    matrices.pop();
}

14 Source : BaseRenderer.java
with MIT License
from Mixinors

public static void drawTexturedQuad(MatrixStack matrices, VertexConsumerProvider provider, float x, float y, float sX, float sY, Identifier texture) {
    matrices.push();
    drawTexturedQuad(matrices, provider, Layers.Companion.get(texture), x, y, sX, sY, 0, 0, 1, 1, 0x00f000f0, Color.Companion.of(0xFFFFFFFF), texture);
    matrices.pop();
}