## Uses of Class
com.io7m.jcanephora.core.JCGLPrimitives

- Packages that use JCGLPrimitives
  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.

- - ### Uses of JCGLPrimitives in com.io7m.jcanephora.core

    Methods in com.io7m.jcanephora.core that return JCGLPrimitives
    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.

  - ### Uses of JCGLPrimitives in com.io7m.jcanephora.core.api

    Methods in com.io7m.jcanephora.core.api with parameters of type JCGLPrimitives
    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.

  - ### Uses of JCGLPrimitives in com.io7m.jcanephora.jogl

    Methods in com.io7m.jcanephora.jogl that return JCGLPrimitives
    Modifier and Type | Method and Description
    --- | ---
    `static JCGLPrimitives` | JOGLTypeConversions.`primitiveFromGL(int code)` Convert primitives from GL constants.

    Methods in com.io7m.jcanephora.jogl with parameters of type JCGLPrimitives
    Modifier and Type | Method and Description
    --- | ---
    `static int` | JOGLTypeConversions.`primitiveToGL(JCGLPrimitives p)` Convert primitives to GL constants.

Copyright © 2016 <code@io7m.com> http://io7m.com