public class VertexBuffer
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| private int | count | 
| private int | glBufferId | 
| private VertexFormat | vertexFormat | 
| Constructor and Description | 
|---|
| VertexBuffer(VertexFormat vertexFormatIn) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | bindBuffer() | 
| void | bufferData(java.nio.ByteBuffer data) | 
| void | deleteGlBuffers() | 
| void | drawArrays(int mode) | 
| void | unbindBuffer() | 
private int glBufferId
private final VertexFormat vertexFormat
private int count
public VertexBuffer(VertexFormat vertexFormatIn)