Class TransformingVertexConsumer
java.lang.Object
net.createmod.catnip.impl.client.render.TransformingVertexConsumer
- All Implemented Interfaces:
com.mojang.blaze3d.vertex.VertexConsumer
public class TransformingVertexConsumer
extends Object
implements com.mojang.blaze3d.vertex.VertexConsumer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()com.mojang.blaze3d.vertex.VertexConsumercolor(int red, int green, int blue, int alpha) voiddefaultColor(int red, int green, int blue, int alpha) voidcom.mojang.blaze3d.vertex.VertexConsumernormal(float x, float y, float z) com.mojang.blaze3d.vertex.VertexConsumeroverlayCoords(int u, int v) voidprepare(com.mojang.blaze3d.vertex.VertexConsumer delegate, com.mojang.blaze3d.vertex.PoseStack poseStack) voidcom.mojang.blaze3d.vertex.VertexConsumeruv(float u, float v) com.mojang.blaze3d.vertex.VertexConsumeruv2(int u, int v) com.mojang.blaze3d.vertex.VertexConsumervertex(double x, double y, double z) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mojang.blaze3d.vertex.VertexConsumer
color, color, normal, overlayCoords, putBulkData, putBulkData, uv2, vertex, vertex
-
Constructor Details
-
TransformingVertexConsumer
public TransformingVertexConsumer()
-
-
Method Details
-
prepare
public void prepare(com.mojang.blaze3d.vertex.VertexConsumer delegate, com.mojang.blaze3d.vertex.PoseStack poseStack) -
clear
public void clear() -
vertex
public com.mojang.blaze3d.vertex.VertexConsumer vertex(double x, double y, double z) - Specified by:
vertexin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
color
public com.mojang.blaze3d.vertex.VertexConsumer color(int red, int green, int blue, int alpha) - Specified by:
colorin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
uv
public com.mojang.blaze3d.vertex.VertexConsumer uv(float u, float v) - Specified by:
uvin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
overlayCoords
public com.mojang.blaze3d.vertex.VertexConsumer overlayCoords(int u, int v) - Specified by:
overlayCoordsin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
uv2
public com.mojang.blaze3d.vertex.VertexConsumer uv2(int u, int v) - Specified by:
uv2in interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
normal
public com.mojang.blaze3d.vertex.VertexConsumer normal(float x, float y, float z) - Specified by:
normalin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
endVertex
public void endVertex()- Specified by:
endVertexin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
defaultColor
public void defaultColor(int red, int green, int blue, int alpha) - Specified by:
defaultColorin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-
unsetDefaultColor
public void unsetDefaultColor()- Specified by:
unsetDefaultColorin interfacecom.mojang.blaze3d.vertex.VertexConsumer
-