public class Geometry
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Geometry.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected int |
drawType |
protected int |
elements |
VertexArray |
vao |
VertexBuffer |
vbo |
| Constructor and Description |
|---|
Geometry(VertexBuffer vbo,
VertexArray vao,
int drawType,
int elements) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindVertexArray() |
void |
destroy() |
void |
draw() |
VertexBuffer |
getVertxBuffer() |
public final VertexBuffer vbo
public final VertexArray vao
protected final int drawType
protected final int elements
public Geometry(VertexBuffer vbo, VertexArray vao, int drawType, int elements)
public void bindVertexArray()
public void draw()
public VertexBuffer getVertxBuffer()
public void destroy()
Copyright © 2013-2014. All Rights Reserved.