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 Unitblit(GuiGraphics guiGraphics, ResourceLocation texture, HTBounds bounds, Float uOffset, Float vOffset, Integer textureWidth, Integer textureHeight)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)
-
blit
final Unit blit(GuiGraphics guiGraphics, ResourceLocation texture, HTBounds bounds, Float uOffset, Float vOffset, Integer textureWidth, Integer textureHeight)
-
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)
-
-
-
-