code: public static int framebufferBlitBufferToGL(
      final JCGLFramebufferBlitBuffer buffer)
    {
      switch (buffer) {
        case FRAMEBUFFER_BLIT_BUFFER_COLOR: {
          return GL11.GL_COLOR_BUFFER_BIT;
        }
        case FRAMEBUFFER_BLIT_BUFFER_DEPTH: {
          return GL11.GL_DEPTH_BUFFER_BIT;
        }
        case FRAMEBUFFER_BLIT_BUFFER_STENCIL: {
          return GL11.GL_STENCIL_BUFFER_BIT;
        }
      }
  
      throw new UnreachableCodeException();
    }
docs: Convert framebuffer blit buffers to GL constants.
  
  @param buffer The buffer.
  
  @return The GL constant.