| Package | Description |
|---|---|
| com.io7m.jcanephora.core |
Core types and interfaces.
|
| com.io7m.jcanephora.core.api |
Type-safe OpenGL interfaces.
|
| com.io7m.jcanephora.jogl |
JOGL implementation of the
jcanephora API. |
| com.io7m.jcanephora.lwjgl3 |
LWJGL3 implementation of the
jcanephora API. |
| Modifier and Type | Method and Description |
|---|---|
static JCGLPrimitives |
JCGLPrimitives.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JCGLPrimitives[] |
JCGLPrimitives.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JCGLDrawType.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 |
JCGLDrawType.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 |
JCGLDrawType.drawElementsInstanced(JCGLPrimitives p,
int instances)
Draw
instances copies of primitives of type p, taking
the data from each currently active vertex attribute using elements taken
from the currently bound index buffer. |
void |
JCGLDrawType.drawInstanced(JCGLPrimitives p,
int first,
int count,
int instances)
Draw
instances copies of count - 1 primitives of type
p, starting at element first, taking the data from each
currently active vertex attribute. |
| Modifier and Type | Method and Description |
|---|---|
static JCGLPrimitives |
JOGLTypeConversions.primitiveFromGL(int code)
Convert primitives from GL constants.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
JOGLTypeConversions.primitiveToGL(JCGLPrimitives p)
Convert primitives to GL constants.
|
| Modifier and Type | Method and Description |
|---|---|
static JCGLPrimitives |
LWJGL3TypeConversions.primitiveFromGL(int code)
Convert primitives from GL constants.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
LWJGL3TypeConversions.primitiveToGL(JCGLPrimitives p)
Convert primitives to GL constants.
|
Copyright © 2017 <code@io7m.com> http://io7m.com