public class TLcdEarthIndexedVertexArray extends TLcdEarthVertexArray
glDrawElements()
.GL_C3F_V3F, GL_C4F_N3F_V3F, GL_LINE_LOOP, GL_LINE_STRIP, GL_LINES, GL_N3F_V3F, GL_POINTS, GL_POLYGON, GL_QUAD_STRIP, GL_QUADS, GL_T2F_C3F_V3F, GL_T2F_C4F_N3F_V3F, GL_T2F_N3F_V3F, GL_T2F_V3F, GL_T4F_C4F_N3F_V4F, GL_T4F_V4F, GL_TRIANGLE_FAN, GL_TRIANGLE_STRIP, GL_TRIANGLES, GL_V2F, GL_V3F
Constructor and Description |
---|
TLcdEarthIndexedVertexArray() |
Modifier and Type | Method and Description |
---|---|
IntBuffer |
getIndices()
Returns the list of indices that can be used to draw this vertex array
with
glDrawElements() . |
void |
setIndices(IntBuffer aIndices)
Sets the list of indices of this indexed vertex array.
|
getBounds, getCoordinateOrigin, getPrimitiveType, getVertexFormat, getVertices, setBounds, setCoordinateOrigin, setPrimitiveType, setVertexFormat, setVertices
public IntBuffer getIndices()
glDrawElements()
.public void setIndices(IntBuffer aIndices)
aIndices
- the index list