com.io7m.jcanephora.core.api

## Interface JCGLPolygonModesType

-     public interface JCGLPolygonModesType

  OpenGL polygon mode configuration.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `JCGLPolygonMode` | `polygonGetMode()`
    `void` | `polygonSetMode(JCGLPolygonMode mode)` Set the polygon rasterization mode for the polygons to `mode`.

- - ### Method Detail

    - #### polygonGetMode

          JCGLPolygonMode polygonGetMode()
                                  throws JCGLException

      Returns:
        The `JCGLPolygonMode` used for polygons
      Throws:
        `JCGLException` - Iff an OpenGL error occurs

    - #### polygonSetMode

          void polygonSetMode(JCGLPolygonMode mode)
                       throws JCGLException

      Set the polygon rasterization mode for the polygons to `mode`. The OpenGL default is `POLYGON_FILL`.
      Parameters:
        `mode` - The rasterization mode
      Throws:
        `JCGLException` - Iff an OpenGL error occurs

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