Top Description Fields Constructors Methods
jogamp.opengl

public Class GLVersionNumber

extends VersionNumberString
Class Inheritance
Imports
com.jogamp.common.util.VersionNumber, .VersionNumberString

A class for storing and comparing OpenGL version numbers. This only works for desktop OpenGL at the moment.

Field Summary

Modifier and TypeField and Description
private static volatile Pattern
private final boolean
Inherited from com.jogamp.common.util.VersionNumberString:
strValzeroVersion

Constructor Summary

AccessConstructor and Description
private
GLVersionNumber(final int[] val, final int strEnd, final short state, final String versionString, final boolean valid)

Method Summary

Modifier and TypeMethod and Description
public static final GLVersionNumber
create(final String versionString)

public static final VersionNumberString
createVendorVersion(final String versionString)

Returns the optional vendor version at the end of the GL_VERSION string if exists, otherwise the zero version instance.

private static Pattern
public final boolean
Inherited from com.jogamp.common.util.VersionNumberString:
getVersionStringtoString

Field Detail

_Patternback to summary
private static volatile Pattern _Pattern
validback to summary
private final boolean valid

Constructor Detail

GLVersionNumberback to summary
private GLVersionNumber(final int[] val, final int strEnd, final short state, final String versionString, final boolean valid)

Method Detail

createback to summary
public static final GLVersionNumber create(final String versionString)
createVendorVersionback to summary
public static final VersionNumberString createVendorVersion(final String versionString)

Returns the optional vendor version at the end of the GL_VERSION string if exists, otherwise the zero version instance.

  2.1 Mesa 7.0.3-rc2 -> 7.0.3 (7.0.3-rc2)
  2.1 Mesa 7.12-devel (git-d6c318e) -> 7.12.0 (7.12-devel)
  4.2.12171 Compatibility Profile Context 9.01.8 -> 9.1.8 (9.01.8)
  4.2.12198 Compatibility Profile Context 12.102.3.0 -> 12.102.3 (12.102.3.0)
  4.3.0 NVIDIA 310.32 -> 310.32 (310.32)
getUnderscorePatternback to summary
private static Pattern getUnderscorePattern()
isValidback to summary
public final boolean isValid()