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 IGLBufferObject
funcs
-
Constructor Summary
Constructors Constructor Description GLVertexBufferObject(int int1, int int2)
GLVertexBufferObject(long long1, int int1, int int2)
-
Method Summary
Modifier and Type Method Description void
bind()
void
bindNone()
void
bufferData(java.nio.ByteBuffer byteBuffer)
void
clear()
void
create()
void
disableVertexAttribArray()
protected void
doDestroy()
void
enableVertexAttribArray(int int1)
int
getID()
static void
init()
boolean
isMapped()
java.nio.ByteBuffer
map()
java.nio.ByteBuffer
map(int int1)
void
orphan()
java.lang.String
toString()
boolean
unmap()
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:
toString
in 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()
-