|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.neovisionaries.android.opengl.VertexBuffer<ElementArrayBuffer>
com.neovisionaries.android.opengl.ElementArrayBuffer
public class ElementArrayBuffer
OpenGL ES vertex buffer of element array type.
| Constructor Summary | |
|---|---|
ElementArrayBuffer()
A constructor to create a vertex buffer of element array type (GL_ELEMENT_ARRAY_BUFFER). |
|
| Method Summary | |
|---|---|
boolean |
isBound()
Check if this element array buffer is bound. |
static void |
unbind()
Unbind the element array buffer (call glBindBuffer(GL_ELEMENT_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 ElementArrayBuffer()
throws GLESException
super(VertexBufferType.ELEMENT_ARRAY) is
called. After this constructor returns, the state
of this instance is CREATED.
GLESException - glGenBuffers() failed.VertexBuffer.VertexBuffer(VertexBufferType),
glGenBuffers| Method Detail |
|---|
public boolean isBound()
This method returns true if the value returned from
GLESState.getElementArrayBufferBinding() and
the value returned from VertexBuffer.getId() are identical.
isBound in class VertexBuffer<ElementArrayBuffer>GLESState.getElementArrayBufferBinding()public static void unbind()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||