Interface BufferVertexConsumer

All Superinterfaces:
IForgeVertexConsumer, VertexConsumer
All Known Implementing Classes:
BufferBuilder

public interface BufferVertexConsumer extends VertexConsumer
  • Method Details

    • currentElement

      VertexFormatElement currentElement()
    • nextElement

      void nextElement()
    • putByte

      void putByte(int p_85779_, byte p_85780_)
    • putShort

      void putShort(int p_85791_, short p_85792_)
    • putFloat

      void putFloat(int p_85781_, float p_85782_)
    • vertex

      default VertexConsumer vertex(double p_85771_, double p_85772_, double p_85773_)
      Specified by:
      vertex in interface VertexConsumer
    • color

      default VertexConsumer color(int p_85787_, int p_85788_, int p_85789_, int p_85790_)
      Specified by:
      color in interface VertexConsumer
    • uv

      default VertexConsumer uv(float p_85777_, float p_85778_)
      Specified by:
      uv in interface VertexConsumer
    • overlayCoords

      default VertexConsumer overlayCoords(int p_85784_, int p_85785_)
      Specified by:
      overlayCoords in interface VertexConsumer
    • uv2

      default VertexConsumer uv2(int p_85802_, int p_85803_)
      Specified by:
      uv2 in interface VertexConsumer
    • uvShort

      default VertexConsumer uvShort(short p_85794_, short p_85795_, int p_85796_)
    • normal

      default VertexConsumer normal(float p_85798_, float p_85799_, float p_85800_)
      Specified by:
      normal in interface VertexConsumer
    • normalIntValue

      static byte normalIntValue(float p_85775_)