请输入您要查询的百科知识:

 

词条 GlueGen
释义

  1. Use of GlueGen in JOGL

  2. See also

  3. External links

{{Infobox software
| name = GlueGen
| logo =
| screenshot =
| caption =
| developer = Sun Microsystems Game Technology Group
JogAmp Community
| latest release version = 2.1.4
| latest release date = {{start date and age|2014|01|31}}
| latest preview version = 2.1.4
| latest preview date = {{start date and age|2014|01|31}}
| operating system = Cross-platform
| genre = 3D computer graphics software (library/API)
| license = BSD license
| website = {{URL|http://jogamp.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

  • SWIG is another free computer software tool used to connect programs written in C/C++ with various scripting languages, and to C# and Java.
  • Glue code

External links

  • GlueGen's API
  • GlueGen's Manual

2 : Java platform|Application programming interfaces

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/18 14:07:58