Jump to content

GlueGen

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Frietjes (talk | contribs) at 18:20, 21 April 2016 (Clean up duplicate template arguments using findargdups). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

GlueGen
Developer(s)Sun Microsystems Game Technology Group
JogAmp Community
Stable release
2.1.4 / January 31, 2014; 10 years ago (2014-01-31)
Preview release
2.1.4 / January 31, 2014; 10 years ago (2014-01-31)
Operating systemCross-platform
Type3D computer graphics software (library/API)
LicenseBSD license
Websitejogamp.org

GlueGen is a Java tool which automatically generates the Java and Java Native Interface (JNI) code needed to call C libraries from Java code. It reads in ANSI C header files and GlueGen configuration files, and emits C code. As JNI can be complex, Gluegen simplifies the process of binding Java to C native libraries.

It was originally developed for Java OpenGL (JOGL), a Java OpenGL library, although the project has since been separated so it can be used with other libraries. As of 2010, it is also used in Java OpenAL (JOAL), which allows Java code to access OpenAL libraries.

Use of GlueGen in JOGL

For JOGL, GlueGen is used to bind OpenGL to Java, and to the low-level windowing system application programming interface (APIs) on the Microsoft Windows, X Window System and Mac OS X platforms.

See also