public class Vertices
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
numIndices |
int |
numVertices |
int |
positionCnt |
int |
vertexSize |
int |
vertexStride |
Constructor and Description |
---|
Vertices(int maxVertices,
int maxIndices) |
Modifier and Type | Method and Description |
---|---|
void |
bind() |
void |
draw(int primitiveType,
int offset,
int numVertices) |
void |
setIndices(short[] indices,
int offset,
int length) |
void |
setVertices(float[] vertices,
int offset,
int length) |
void |
unbind() |