Package net.minecraft.client.render
Interface VertexConsumer
- All Known Subinterfaces:
BufferVertexConsumer
- All Known Implementing Classes:
BufferBuilder
,FixedColorVertexConsumer
,OutlineVertexConsumerProvider.OutlineVertexConsumer
,OverlayVertexConsumer
,SpriteTexturedVertexConsumer
,VertexConsumers.Dual
@Environment(CLIENT)
public interface VertexConsumer
-
Field Summary
-
Method Summary
Modifier and Type Method Description default VertexConsumer
color(float red, float green, float blue, float alpha)
VertexConsumer
color(int red, int green, int blue, int alpha)
default VertexConsumer
light(int uv)
VertexConsumer
light(int u, int v)
void
next()
VertexConsumer
normal(float x, float y, float z)
default VertexConsumer
normal(Matrix3f matrix, float x, float y, float z)
default VertexConsumer
overlay(int uv)
VertexConsumer
overlay(int u, int v)
default void
quad(MatrixStack.Entry matrixEntry, BakedQuad quad, float[] brightnesses, float red, float green, float blue, int[] lights, int overlay, boolean useQuadColorData)
default void
quad(MatrixStack.Entry matrixEntry, BakedQuad quad, float red, float green, float blue, int light, int overlay)
VertexConsumer
texture(float u, float v)
VertexConsumer
vertex(double x, double y, double z)
default void
vertex(float x, float y, float z, float red, float green, float blue, float alpha, float u, float v, int overlay, int light, float normalX, float normalY, float normalZ)
default VertexConsumer
vertex(Matrix4f matrix, float x, float y, float z)
-
Field Details
-
LOGGER
-
-
Method Details
-
vertex
-
color
-
texture
-
overlay
-
light
-
normal
-
next
void next() -
vertex
default void vertex(float x, float y, float z, float red, float green, float blue, float alpha, float u, float v, int overlay, int light, float normalX, float normalY, float normalZ) -
color
-
light
-
overlay
-
quad
default void quad(MatrixStack.Entry matrixEntry, BakedQuad quad, float red, float green, float blue, int light, int overlay) -
quad
default void quad(MatrixStack.Entry matrixEntry, BakedQuad quad, float[] brightnesses, float red, float green, float blue, int[] lights, int overlay, boolean useQuadColorData) -
vertex
-
normal
-