|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.neovisionaries.android.opengl.VertexBuffer<ArrayBuffer>
com.neovisionaries.android.opengl.ArrayBuffer
public class ArrayBuffer
OpenGL ES vertex buffer of array type.
| Constructor Summary | |
|---|---|
ArrayBuffer()
A constructor to create a vertex buffer of array type (GL_ARRAY_BUFFER). |
|
| Method Summary | |
|---|---|
boolean |
isBound()
Check if this array buffer is bound. |
static void |
unbind()
Unbind the array buffer (call glBindBuffer(GL_ARRAY_BUFFER, 0)). |
| Methods inherited from class com.neovisionaries.android.opengl.VertexBuffer |
|---|
bind, delete, getId, getState, getType, setData, setData, setData, setData, setSubData, setSubData, setSubData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArrayBuffer()
throws GLESException
super(VertexBufferType.ARRAY) is called.
After this constructor returns, the state of this
instance is CREATED.
GLESException - glGenBuffers() failed.VertexBuffer(VertexBufferType),
glGenBuffers| Method Detail |
|---|
public boolean isBound()
This method returns true if the value returned from
GLESState.getArrayBufferBinding() and
the value returned from VertexBuffer.getId() are identical.
isBound in class VertexBuffer<ArrayBuffer>GLESState.getArrayBufferBinding()public static void unbind()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||