public class GLVersion extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GLVersion.Type |
Constructor and Description |
---|
GLVersion(Application.ApplicationType appType,
String versionString,
String vendorString,
String rendererString) |
Modifier and Type | Method and Description |
---|---|
String |
getDebugVersionString() |
int |
getMajorVersion() |
int |
getMinorVersion() |
int |
getReleaseVersion() |
String |
getRendererString() |
GLVersion.Type |
getType() |
String |
getVendorString() |
boolean |
isVersionEqualToOrHigher(int testMajorVersion,
int testMinorVersion)
Checks to see if the current GL connection version is higher, or equal to the provided test versions.
|
public GLVersion(Application.ApplicationType appType, String versionString, String vendorString, String rendererString)
public GLVersion.Type getType()
GLVersion.Type
of GL implementation this application has access to, e.g. GLVersion.Type.OpenGL
or GLVersion.Type.GLES
public int getMajorVersion()
public int getMinorVersion()
public int getReleaseVersion()
public String getVendorString()
public String getRendererString()
public boolean isVersionEqualToOrHigher(int testMajorVersion, int testMinorVersion)
testMajorVersion
- the major version to test againsttestMinorVersion
- the minor version to test againstpublic String getDebugVersionString()
Copyright © 2018. All rights reserved.