com.io7m.jcanephora.core

## Interface JCGLFramebufferDrawBufferType

- All Superinterfaces:
    Comparable<JCGLFramebufferDrawBufferType>

      public interface JCGLFramebufferDrawBufferType
      extends Comparable<JCGLFramebufferDrawBufferType>

  An identifier for a draw buffer.

  Any given framebuffer has at most `GL_MAX_DRAW_BUFFERS`. A fragment shader writing to output `n` is conceptually writing to draw buffer `n`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `drawBufferIndex()`

    - ### Methods inherited from interface java.lang.Comparable

      `compareTo`

- - ### Method Detail

    - #### drawBufferIndex

          int drawBufferIndex()

      Returns:
        The index of the draw buffer. This value will be between 0 and some implementation-defined exclusive upper limit (at least 8).

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