com.io7m.jcanephora.core

## Interface JCGLFramebufferUsableType

- All Superinterfaces:
    JCGLNamedType, JCGLReferenceContainerType, JCGLResourceUsableType
  All Known Subinterfaces:
    JCGLFramebufferType

      public interface JCGLFramebufferUsableType
      extends JCGLResourceUsableType, JCGLNamedType, JCGLReferenceContainerType

  A read-only interface to the `JCGLFramebufferType` type that allows use of the type but not mutation and/or deletion of the contents.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Optional<JCGLFramebufferColorAttachmentType>` | `framebufferGetColorAttachment(JCGLFramebufferColorAttachmentPointType c)`
    `int` | `framebufferGetDepthBits()`
    `int` | `framebufferGetStencilBits()`

    - ### Methods inherited from interface com.io7m.jcanephora.core.JCGLResourceUsableType

      `isDeleted`

    - ### Methods inherited from interface com.io7m.jcanephora.core.JCGLNamedType

      `getGLName`

    - ### Methods inherited from interface com.io7m.jcanephora.core.JCGLReferenceContainerType

      `getReferences`

- - ### Method Detail

    - #### framebufferGetColorAttachment

          Optional<JCGLFramebufferColorAttachmentType> framebufferGetColorAttachment(JCGLFramebufferColorAttachmentPointType c)

      Parameters:
        `c` - The color attachment point
      Returns:
        The color attachment at point `c`, if any

    - #### framebufferGetDepthBits

          int framebufferGetDepthBits()

      Returns:
        The number of depth bits in the framebuffer

    - #### framebufferGetStencilBits

          int framebufferGetStencilBits()

      Returns:
        The number of stencil bits in the framebuffer

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