io7m
io7m-jcanephora 0.53.0
3.10
JCGLDrawType

- 3.10.1. Description
- 3.10.2. Usage examples

3.10.1
Description
1
The JCGLDrawType interface provides functions for initiating rendering operations.
3.10.2
Usage examples
1
Assuming that an array object is currently bound and has an attached index buffer, drawing an object is trivial:
3.10.2.1. Drawing

    JCGLDrawType g;

    g.drawElements(Primitives.PRIMITIVE_TRIANGLES);

2
Similar functions exist for rendering without index buffers.