public interface JCGLDrawType
| Modifier and Type | Method and Description |
|---|---|
void |
draw(JCGLPrimitives p,
int first,
int count)
Draw
count - 1 primitives of type p, starting at element
first, taking the data from each currently active vertex
attribute. |
void |
drawElements(JCGLPrimitives p)
Draw primitives of type
p, taking the data from each currently
active vertex attribute using elements taken from the currently bound index
buffer. |
void draw(JCGLPrimitives p, int first, int count) throws JCGLException
count - 1 primitives of type p, starting at element
first, taking the data from each currently active vertex
attribute.p - The type of primitivesfirst - The first elementcount - The number of primitivesJCGLException - On OpenGL errorsJCGLArrayObjectsTypevoid drawElements(JCGLPrimitives p) throws JCGLException, JCGLExceptionBufferNotBound
p, taking the data from each currently
active vertex attribute using elements taken from the currently bound index
buffer.p - The type of primitivesJCGLException - On OpenGL errorsJCGLExceptionBufferNotBound - If no index buffer is currently boundJCGLArrayObjectsTypeCopyright © 2016 <code@io7m.com> http://io7m.com