Class ClientUtils
java.lang.Object
net.neoforged.testframework.client.ClientUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
blitAlpha
(GuiGraphics pPoseStack, int pX, int pY, float pUOffset, float pVOffset, int pWidth, int pHeight, int pTextureWidth, int pTextureHeight, float alpha) static void
blitAlpha
(GuiGraphics pPoseStack, int pX, int pY, int pWidth, int pHeight, float pUOffset, float pVOffset, int pUWidth, int pVHeight, int pTextureWidth, int pTextureHeight, float alpha) static void
blitAlphaSimple
(GuiGraphics pPoseStack, int pX, int pY, float pUOffset, float pVOffset, int pWidth, int pHeight, int pTextureWidth, int pTextureHeight) static void
blitAlphaSimple
(GuiGraphics pPoseStack, int pX, int pY, int pWidth, int pHeight, float pUOffset, float pVOffset, int pUWidth, int pVHeight, int pTextureWidth, int pTextureHeight) static void
private static void
innerBlitAlpha
(GuiGraphics pPoseStack, int pX1, int pX2, int pY1, int pY2, int pBlitOffset, int pUWidth, int pVHeight, float pUOffset, float pVOffset, int pTextureWidth, int pTextureHeight, float alpha) private static void
innerBlitAlpha
(org.joml.Matrix4f pMatrix, int pX1, int pX2, int pY1, int pY2, int pBlitOffset, float pMinU, float pMaxU, float pMinV, float pMaxV, float alpha) private static void
innerBlitAlphaSimple
(GuiGraphics pPoseStack, int pX1, int pX2, int pY1, int pY2, int pBlitOffset, int pUWidth, int pVHeight, float pUOffset, float pVOffset, int pTextureWidth, int pTextureHeight) private static void
innerBlitAlphaSimple
(org.joml.Matrix4f pMatrix, int pX1, int pX2, int pY1, int pY2, int pBlitOffset, float pMinU, float pMaxU, float pMinV, float pMaxV) static void
setupAlpha
(float alpha)
-
Constructor Details
-
ClientUtils
public ClientUtils()
-
-
Method Details
-
blitAlpha
public static void blitAlpha(GuiGraphics pPoseStack, int pX, int pY, int pWidth, int pHeight, float pUOffset, float pVOffset, int pUWidth, int pVHeight, int pTextureWidth, int pTextureHeight, float alpha) -
blitAlpha
public static void blitAlpha(GuiGraphics pPoseStack, int pX, int pY, float pUOffset, float pVOffset, int pWidth, int pHeight, int pTextureWidth, int pTextureHeight, float alpha) -
innerBlitAlpha
private static void innerBlitAlpha(GuiGraphics pPoseStack, int pX1, int pX2, int pY1, int pY2, int pBlitOffset, int pUWidth, int pVHeight, float pUOffset, float pVOffset, int pTextureWidth, int pTextureHeight, float alpha) -
innerBlitAlpha
private static void innerBlitAlpha(org.joml.Matrix4f pMatrix, int pX1, int pX2, int pY1, int pY2, int pBlitOffset, float pMinU, float pMaxU, float pMinV, float pMaxV, float alpha) -
blitAlphaSimple
public static void blitAlphaSimple(GuiGraphics pPoseStack, int pX, int pY, int pWidth, int pHeight, float pUOffset, float pVOffset, int pUWidth, int pVHeight, int pTextureWidth, int pTextureHeight) -
blitAlphaSimple
public static void blitAlphaSimple(GuiGraphics pPoseStack, int pX, int pY, float pUOffset, float pVOffset, int pWidth, int pHeight, int pTextureWidth, int pTextureHeight) -
innerBlitAlphaSimple
private static void innerBlitAlphaSimple(GuiGraphics pPoseStack, int pX1, int pX2, int pY1, int pY2, int pBlitOffset, int pUWidth, int pVHeight, float pUOffset, float pVOffset, int pTextureWidth, int pTextureHeight) -
innerBlitAlphaSimple
private static void innerBlitAlphaSimple(org.joml.Matrix4f pMatrix, int pX1, int pX2, int pY1, int pY2, int pBlitOffset, float pMinU, float pMaxU, float pMinV, float pMaxV) -
disableAlpha
public static void disableAlpha() -
setupAlpha
public static void setupAlpha(float alpha)
-