io7m
com.io7m.jcanephora
0.61.0
3.12. JCGLIndexBuffersType
3. jcanephora Core Interfaces
3.14. JCGLScissorType
Previous
Up
Next
3.13
JCGLPolygonModesType
3.13.1. Description
3.13.2. Usage example
3.13.3. State
3.13.1
Description
1
The
JCGLPolygonModesType
interface provides functions for controlling the rendering style of individual polygons.
3.13.2
Usage example
1
The following code sets a wireframe rendering style:
3.13.2.1. Wireframe
JCGLPolygonModesType g; g.polygonSetMode(JCGLPolygonMode.POLYGON_LINES);
3.13.3
State
1
The current polygon rendering style state is global to a given context; when enabled, it is enabled for all subsequent rendering operations on that context until explicitly modified or disabled.
Previous
Up
Next
3.12. JCGLIndexBuffersType
3. jcanephora Core Interfaces
3.14. JCGLScissorType