|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectzombie.core.VBO.GLVertexBufferObject
public class GLVertexBufferObject
Vertex buffer object wrapper
| Constructor Summary | |
|---|---|
GLVertexBufferObject(int type,
int usage)
C'tor |
|
GLVertexBufferObject(long size,
int type,
int usage)
C'tor |
|
| Method Summary | |
|---|---|
void |
clear()
Tells the driver we don't care about the data in our buffer any more (may improve performance before mapping) |
void |
create()
|
int |
getID()
|
boolean |
isMapped()
|
java.nio.ByteBuffer |
map()
|
java.nio.ByteBuffer |
map(int size)
|
void |
orphan()
|
void |
render()
|
java.lang.String |
toString()
|
boolean |
unmap()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GLVertexBufferObject(long size,
int type,
int usage)
public GLVertexBufferObject(int type,
int usage)
| Method Detail |
|---|
public void create()
public void clear()
public java.nio.ByteBuffer map(int size)
public java.nio.ByteBuffer map()
public void orphan()
public boolean unmap()
public boolean isMapped()
public java.lang.String toString()
toString in class java.lang.Objectpublic void render()
public int getID()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||