Class GLVertexBufferObject
java.lang.Object
zombie.core.VBO.GLVertexBufferObject
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGLVertexBufferObject
(int _type, int _usage) C'torGLVertexBufferObject
(long _size, int _type, int _usage) C'tor -
Method Summary
Modifier and TypeMethodDescriptionvoid
bind()
void
bindNone()
void
bufferData
(ByteBuffer data) void
clear()
Tells the driver we don't care about the data in our buffer any more (may improve performance before mapping)void
create()
void
protected void
void
enableVertexAttribArray
(int index) int
getID()
static void
init()
boolean
isMapped()
map()
map
(int _size) void
orphan()
toString()
boolean
unmap()
-
Field Details
-
funcs
-
-
Constructor Details
-
GLVertexBufferObject
public GLVertexBufferObject(long _size, int _type, int _usage) C'tor -
GLVertexBufferObject
public GLVertexBufferObject(int _type, int _usage) C'tor
-
-
Method Details
-
init
public static void init() -
create
public void create() -
clear
public void clear()Tells the driver we don't care about the data in our buffer any more (may improve performance before mapping) -
doDestroy
protected void doDestroy() -
map
-
map
-
orphan
public void orphan() -
unmap
public boolean unmap() -
isMapped
public boolean isMapped() -
bufferData
-
toString
-
bind
public void bind() -
bindNone
public void bindNone() -
getID
public int getID() -
enableVertexAttribArray
public void enableVertexAttribArray(int index) -
disableVertexAttribArray
public void disableVertexAttribArray()
-