io7m
io7m-jcanephora 0.44.0
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.