void {@native glDrawElements}(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices);
glDrawElements
.
@see #glBindBuffer
@see #glDrawElements(int mode,int count,int type,Buffer indices)
@exception IllegalStateException if the most recent call toglBindBuffer
for the GL_ELEMENT_ARRAY_BUFFER
target had a buffer
parameter of 0 (i.e., an index buffer is not bound).
@exception ArrayIndexOutOfBoundsException if any index in thesequence of indices from offset
to offset + count - 1
would result in a reference to an entry outside of the currently bound index or data (vertex, color, normal, texture coordinate array, weight, matrix index, or point size) array, where indices
refers to the set of values bound to the GL_ELEMENT_ARRAY_BUFFER
target.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|