Package zombie.core.VBO
Class GLVertexBufferObject
java.lang.Object
zombie.core.VBO.GLVertexBufferObject
public class GLVertexBufferObject
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static IGLBufferObjectfuncs -
Constructor Summary
Constructors Constructor Description GLVertexBufferObject(int int1, int int2)GLVertexBufferObject(long long1, int int1, int int2) -
Method Summary
Modifier and Type Method Description voidbind()voidbindNone()voidbufferData(java.nio.ByteBuffer byteBuffer)voidclear()voidcreate()voiddisableVertexAttribArray()protected voiddoDestroy()voidenableVertexAttribArray(int int1)intgetID()static voidinit()booleanisMapped()java.nio.ByteBuffermap()java.nio.ByteBuffermap(int int1)voidorphan()java.lang.StringtoString()booleanunmap()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
funcs
-
-
Constructor Details
-
GLVertexBufferObject
public GLVertexBufferObject(long long1, int int1, int int2) -
GLVertexBufferObject
public GLVertexBufferObject(int int1, int int2)
-
-
Method Details
-
init
public static void init() -
create
public void create() -
clear
public void clear() -
doDestroy
protected void doDestroy() -
map
public java.nio.ByteBuffer map(int int1) -
map
public java.nio.ByteBuffer map() -
orphan
public void orphan() -
unmap
public boolean unmap() -
isMapped
public boolean isMapped() -
bufferData
public void bufferData(java.nio.ByteBuffer byteBuffer) -
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
bind
public void bind() -
bindNone
public void bindNone() -
getID
public int getID() -
enableVertexAttribArray
public void enableVertexAttribArray(int int1) -
disableVertexAttribArray
public void disableVertexAttribArray()
-