com.io7m.jcanephora.core.api

## Interface JCGLViewportsType

-     public interface JCGLViewportsType

  OpenGL viewport interface.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `viewportSet(com.io7m.jareas.core.AreaInclusiveUnsignedLType area)` Set the OpenGL viewport to the given inclusive area.

- - ### Method Detail

    - #### viewportSet

          void viewportSet(com.io7m.jareas.core.AreaInclusiveUnsignedLType area)
                    throws JCGLException

      Set the OpenGL viewport to the given inclusive area. The dimensions and position are specified in pixels and `(0, 0)` refers to the bottom left corner of the viewport.
      Parameters:
        `area` - The inclusive area.
      Throws:
        `JCGLException` - Iff an OpenGL error occurred.

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