Class GLVersion

java.lang.Object
arc.graphics.gl.GLVersion

public class GLVersion extends Object
  • Field Details

    • vendorString

      public final String vendorString
    • rendererString

      public final String rendererString
    • type

      public final GLVersion.GlType type
    • majorVersion

      public int majorVersion
    • minorVersion

      public int minorVersion
    • releaseVersion

      public int releaseVersion
  • Constructor Details

  • Method Details

    • atLeast

      public boolean atLeast(int testMajorVersion, int testMinorVersion)
      Checks to see if the current GL connection version is higher, or equal to the provided test versions.
      Parameters:
      testMajorVersion - the major version to test against
      testMinorVersion - the minor version to test against
      Returns:
      true if the current version is higher or equal to the test version
    • getDebugVersionString

      public String getDebugVersionString()
      Returns:
      a string with the current GL connection data
    • toString

      public String toString()
      Overrides:
      toString in class Object