Package zombie.core.VBO
Class GLBufferObjectARB
java.lang.Object
zombie.core.VBO.GLBufferObjectARB
- All Implemented Interfaces:
IGLBufferObject
public final class GLBufferObjectARB extends java.lang.Object implements IGLBufferObject
-
Constructor Summary
Constructors Constructor Description GLBufferObjectARB()
-
Method Summary
Modifier and Type Method Description int
GL_ARRAY_BUFFER()
int
GL_BUFFER_SIZE()
int
GL_ELEMENT_ARRAY_BUFFER()
int
GL_STATIC_DRAW()
int
GL_STREAM_DRAW()
int
GL_WRITE_ONLY()
void
glBindBuffer(int target, int buffer)
void
glBufferData(int target, long data_size, int usage)
void
glBufferData(int target, java.nio.ByteBuffer data, int usage)
void
glDeleteBuffers(int buffers)
int
glGenBuffers()
void
glGetBufferParameter(int target, int pname, java.nio.IntBuffer params)
java.nio.ByteBuffer
glMapBuffer(int target, int access, long length, java.nio.ByteBuffer old_buffer)
boolean
glUnmapBuffer(int target)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
GLBufferObjectARB
public GLBufferObjectARB()
-
-
Method Details
-
GL_ARRAY_BUFFER
public int GL_ARRAY_BUFFER()- Specified by:
GL_ARRAY_BUFFER
in interfaceIGLBufferObject
-
GL_ELEMENT_ARRAY_BUFFER
public int GL_ELEMENT_ARRAY_BUFFER()- Specified by:
GL_ELEMENT_ARRAY_BUFFER
in interfaceIGLBufferObject
-
GL_STATIC_DRAW
public int GL_STATIC_DRAW()- Specified by:
GL_STATIC_DRAW
in interfaceIGLBufferObject
-
GL_STREAM_DRAW
public int GL_STREAM_DRAW()- Specified by:
GL_STREAM_DRAW
in interfaceIGLBufferObject
-
GL_BUFFER_SIZE
public int GL_BUFFER_SIZE()- Specified by:
GL_BUFFER_SIZE
in interfaceIGLBufferObject
-
GL_WRITE_ONLY
public int GL_WRITE_ONLY()- Specified by:
GL_WRITE_ONLY
in interfaceIGLBufferObject
-
glGenBuffers
public int glGenBuffers()- Specified by:
glGenBuffers
in interfaceIGLBufferObject
-
glBindBuffer
public void glBindBuffer(int target, int buffer)- Specified by:
glBindBuffer
in interfaceIGLBufferObject
-
glDeleteBuffers
public void glDeleteBuffers(int buffers)- Specified by:
glDeleteBuffers
in interfaceIGLBufferObject
-
glBufferData
public void glBufferData(int target, java.nio.ByteBuffer data, int usage)- Specified by:
glBufferData
in interfaceIGLBufferObject
-
glBufferData
public void glBufferData(int target, long data_size, int usage)- Specified by:
glBufferData
in interfaceIGLBufferObject
-
glMapBuffer
public java.nio.ByteBuffer glMapBuffer(int target, int access, long length, java.nio.ByteBuffer old_buffer)- Specified by:
glMapBuffer
in interfaceIGLBufferObject
-
glUnmapBuffer
public boolean glUnmapBuffer(int target)- Specified by:
glUnmapBuffer
in interfaceIGLBufferObject
-
glGetBufferParameter
public void glGetBufferParameter(int target, int pname, java.nio.IntBuffer params)- Specified by:
glGetBufferParameter
in interfaceIGLBufferObject
-