io7m
com.io7m.jcanephora
0.61.0
3.9. JCGLDepthBuffersType
3. jcanephora Core Interfaces
3.11. JCGLFramebuffersType
Previous
Up
Next
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.
Previous
Up
Next
3.9. JCGLDepthBuffersType
3. jcanephora Core Interfaces
3.11. JCGLFramebuffersType