com.io7m.jcanephora.core

## Interface JCGLVersionNumberType

- All Superinterfaces:
    Comparable<JCGLVersionNumberType>
  All Known Implementing Classes:
    JCGLVersionNumber

      @Value.Immutable
      public interface JCGLVersionNumberType
      extends Comparable<JCGLVersionNumberType>

  A structure representing the version number of a given OpenGL implementation, broken into "major", "minor", and "micro" components.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default int` | `compareTo(JCGLVersionNumberType other)`
    `int` | `major()`
    `int` | `micro()`
    `int` | `minor()`

- - ### Method Detail

    - #### major

          @Value.Parameter(order=0)
          int major()

      Returns:
        The major version of the implementation.

    - #### minor

          @Value.Parameter(order=1)
          int minor()

      Returns:
        The minor version of the implementation.

    - #### micro

          @Value.Parameter(order=2)
          int micro()

      Returns:
        The micro version of the implementation.

    - #### compareTo

          default int compareTo(@Nullable
                                JCGLVersionNumberType other)

      Specified by:
        `compareTo` in interface `Comparable<JCGLVersionNumberType>`

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