com.io7m.jcanephora.core.api

## Interface JCGLScissorType

-     public interface JCGLScissorType

  OpenGL scissor test interface.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `scissorDisable()` Disable the scissor test in the OpenGL pipeline.
    `void` | `scissorEnable(com.io7m.jareas.core.AreaInclusiveUnsignedLType area)` Set the OpenGL scissor region to the given inclusive area.
    `boolean` | `scissorIsEnabled()`

- - ### Method Detail

    - #### scissorDisable

          void scissorDisable()
                       throws JCGLException

      Disable the scissor test in the OpenGL pipeline. The scissor test is initially disabled.
      Throws:
        `JCGLException` - Iff an OpenGL error occurs

    - #### scissorEnable

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

      Set the OpenGL scissor region 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

    - #### scissorIsEnabled

          boolean scissorIsEnabled()
                            throws JCGLException

      Returns:
        `true` iff scissor testing is enabled.
      Throws:
        `JCGLException` - Iff an OpenGL error occurred

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