public class VertexBuffer
extends java.lang.Object
implements java.lang.AutoCloseable
Constructor and Description |
---|
VertexBuffer(VertexFormat vertexFormatIn) |
Modifier and Type | Method and Description |
---|---|
void |
bindBuffer() |
void |
close() |
void |
draw(Matrix4f matrixIn,
int modeIn) |
static void |
unbindBuffer() |
void |
upload(BufferBuilder bufferIn) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
uploadLater(BufferBuilder bufferIn) |
public VertexBuffer(VertexFormat vertexFormatIn)
public void bindBuffer()
public void upload(BufferBuilder bufferIn)
public java.util.concurrent.CompletableFuture<java.lang.Void> uploadLater(BufferBuilder bufferIn)
public void draw(Matrix4f matrixIn, int modeIn)
public static void unbindBuffer()
public void close()
close
in interface java.lang.AutoCloseable