Class VertexBuffer

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class VertexBuffer
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Field Detail

      • id

        private int id
      • vertexCount

        private int vertexCount
    • Constructor Detail

      • VertexBuffer

        public VertexBuffer​(VertexFormat p_i46098_1_)
    • Method Detail

      • bind

        public void bind()
      • uploadLater

        public java.util.concurrent.CompletableFuture<java.lang.Void> uploadLater​(BufferBuilder p_227878_1_)
      • draw

        public void draw​(Matrix4f p_227874_1_,
                         int p_227874_2_)
      • unbind

        public static void unbind()
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable