Package hiiragi283.core.util
Object HTSpriteRenderHelper
-
- All Implemented Interfaces:
public class HTSpriteRenderHelper
-
-
Field Summary
Fields Modifier and Type Field Description public final static HTSpriteRenderHelperINSTANCE
-
Method Summary
Modifier and Type Method Description final static UnitsetShaderColor(GuiGraphics guiGraphics, Integer color, Function0<Unit> action)final static TextureAtlasSpritegetFluidSprite(HTFluidResourceType resource)final UnitdrawQuad(GuiGraphics guiGraphics, Float x, Float y, Float width, Float height, Float minU, Float minV, Float maxU, Float maxV)final UnitdrawQuad(Direction direction, VertexConsumer consumer, Matrix4f matrix, PoseStack.Pose pose, TextureAtlasSprite sprite, Integer color, Integer light, Integer overlay)final static UnitdrawFluidBox(PoseStack poseStack, MultiBufferSource bufferSource, TextureAtlasSprite sprite, Integer color, Integer light, Integer overlay, Iterable<Direction> sides)-
-
Method Detail
-
setShaderColor
final static Unit setShaderColor(GuiGraphics guiGraphics, Integer color, Function0<Unit> action)
-
getFluidSprite
final static TextureAtlasSprite getFluidSprite(HTFluidResourceType resource)
-
drawQuad
final Unit drawQuad(GuiGraphics guiGraphics, Float x, Float y, Float width, Float height, Float minU, Float minV, Float maxU, Float maxV)
-
drawQuad
final Unit drawQuad(Direction direction, VertexConsumer consumer, Matrix4f matrix, PoseStack.Pose pose, TextureAtlasSprite sprite, Integer color, Integer light, Integer overlay)
-
-
-
-