com.metsci.glimpse.gl
Class Jogular
java.lang.Object
com.metsci.glimpse.gl.Jogular
public class Jogular
- extends java.lang.Object
A utility that allows JOGL to load its native libraries from classpath
resources. This way, the native libs can be kept in a jar, and managed
like normal dependencies (with Maven, e.g.). Also, java.library.path does
not need to be specified on the java command line.
To use, call Jogular.initJogl() before any Glimpse or OpenGL classes are
loaded. It is safest to do this on the first line of main(). For an RCP
application, the safest place is in a static block in the activator class.
Use of this class may cause the creation of temporary files and/or directories.
- Author:
- hogye
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jogularPlatformProperty
public static final java.lang.String jogularPlatformProperty
- See Also:
- Constant Field Values
Jogular
public Jogular()
joglPlatformString
public static java.lang.String joglPlatformString()
nativeLibResourceSearchPath
public static java.lang.String nativeLibResourceSearchPath()
needGluegen
public static boolean needGluegen()
- The gluegen native lib is only used by JOGL's X11 implementation.
initJogl
public static void initJogl()
Copyright © 2012 Metron, Inc.. All Rights Reserved.