Interface VertexConsumer

All Known Subinterfaces:
BufferVertexConsumer
All Known Implementing Classes:
BufferBuilder, FixedColorVertexConsumer, OutlineVertexConsumerProvider.OutlineVertexConsumer, OverlayVertexConsumer, SpriteTexturedVertexConsumer, VertexConsumers.Dual

@Environment(CLIENT)
public interface VertexConsumer
  • Field Details

    • LOGGER

      static final Logger LOGGER
  • Method Details

    • vertex

      VertexConsumer vertex​(double x, double y, double z)
    • color

      VertexConsumer color​(int red, int green, int blue, int alpha)
    • texture

      VertexConsumer texture​(float u, float v)
    • overlay

      VertexConsumer overlay​(int u, int v)
    • light

      VertexConsumer light​(int u, int v)
    • normal

      VertexConsumer normal​(float x, float y, float z)
    • 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

      default VertexConsumer color​(float red, float green, float blue, float alpha)
    • light

      default VertexConsumer light​(int uv)
    • overlay

      default VertexConsumer overlay​(int uv)
    • 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

      default VertexConsumer vertex​(Matrix4f matrix, float x, float y, float z)
    • normal

      default VertexConsumer normal​(Matrix3f matrix, float x, float y, float z)