Class BufferBuilder

java.lang.Object
com.mojang.blaze3d.vertex.BufferBuilder
All Implemented Interfaces:
VertexConsumer, IVertexConsumerExtension

public class BufferBuilder extends Object implements VertexConsumer
  • Field Details

    • NOT_BUILDING

      private static final long NOT_BUILDING
      See Also:
    • UNKNOWN_ELEMENT

      private static final long UNKNOWN_ELEMENT
      See Also:
    • IS_LITTLE_ENDIAN

      private static final boolean IS_LITTLE_ENDIAN
    • buffer

      private final ByteBufferBuilder buffer
    • vertexPointer

      private long vertexPointer
    • vertices

      private int vertices
    • format

      private final VertexFormat format
    • mode

      private final VertexFormat.Mode mode
    • fastFormat

      private final boolean fastFormat
    • fullFormat

      private final boolean fullFormat
    • vertexSize

      private final int vertexSize
    • initialElementsToFill

      private final int initialElementsToFill
    • offsetsByElement

      private final int[] offsetsByElement
    • elementsToFill

      private int elementsToFill
    • building

      private boolean building
  • Constructor Details

  • Method Details