Package arc.graphics.gl
Class GLVersion
java.lang.Object
arc.graphics.gl.GLVersion
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionGLVersion
(Application.ApplicationType appType, String versionString, String vendorString, String rendererString) -
Method Summary
-
Field Details
-
vendorString
-
rendererString
-
type
-
majorVersion
public int majorVersion -
minorVersion
public int minorVersion -
releaseVersion
public int releaseVersion
-
-
Constructor Details
-
GLVersion
public GLVersion(Application.ApplicationType appType, String versionString, String vendorString, String rendererString)
-
-
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 againsttestMinorVersion
- the minor version to test against- Returns:
- true if the current version is higher or equal to the test version
-
getDebugVersionString
- Returns:
- a string with the current GL connection data
-
toString
-