com.io7m.jcanephora.core.api

## Interface JCGLDepthClampingType

- All Known Subinterfaces:
    JCGLDepthBuffersType

      public interface JCGLDepthClampingType

  The interface to OpenGL depth clamping.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `depthClampingDisable()` Disable depth clamping.
    `void` | `depthClampingEnable()` Enable depth clamping.
    `boolean` | `depthClampingIsEnabled()`

- - ### Method Detail

    - #### depthClampingDisable

          void depthClampingDisable()
                             throws JCGLException,
                                    JCGLExceptionNoDepthBuffer

      Disable depth clamping.
      Throws:
        `JCGLException` - On OpenGL errors
        `JCGLExceptionNoDepthBuffer` - If no depth buffer is available

    - #### depthClampingEnable

          void depthClampingEnable()
                            throws JCGLException,
                                   JCGLExceptionNoDepthBuffer

      Enable depth clamping.
      Throws:
        `JCGLException` - On OpenGL errors
        `JCGLExceptionNoDepthBuffer` - If no depth buffer is available

    - #### depthClampingIsEnabled

          boolean depthClampingIsEnabled()
                                  throws JCGLException,
                                         JCGLExceptionNoDepthBuffer

      Returns:
        `true` if depth clamping is enabled
      Throws:
        `JCGLException` - On OpenGL errors
        `JCGLExceptionNoDepthBuffer` - If no depth buffer is available

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