Class ByteBufferBuilder.Result

java.lang.Object
com.mojang.blaze3d.vertex.ByteBufferBuilder.Result
All Implemented Interfaces:
AutoCloseable
Enclosing class:
ByteBufferBuilder

public class ByteBufferBuilder.Result extends Object implements AutoCloseable
  • Field Details

    • offset

      private final long offset
    • size

      private final int size
    • generation

      private final int generation
    • closed

      private boolean closed
  • Constructor Details

    • Result

      private Result(long offset, int size, int generation)
  • Method Details

    • byteBuffer

      public ByteBuffer byteBuffer()
    • size

      public int size()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable