j3d.org OpenGL SWT Bindings

Package org.j3d.opengl.swt

The core implementation of the OpenGL Java bindings.

See:
          Description

Interface Summary
SWTGraphicsConfiguration A wrapper for SWT graphics configuration information allowing it to be handled in a toolkit-independent manner.
 

Class Summary
GLCanvas A widget that represents a surface that OpenGL draws into.
SWTGLUtils Utility class for swapping between the stock SWT GL classes and our own.
SWTGraphicsDevice A wrapper for an AWT GraphicsConfiguration allowing it to be handled in a toolkit-independent manner.
SWTRIDrawableFactory An implementation of the GLDrawableFactory that generates SWT-specific capabilities using an extension of the JOGL Reference Implementation codebase.
Threading This API provides access to the threading model for the implementation of JOGL on SWT.
 

Package org.j3d.opengl.swt Description

The core implementation of the OpenGL Java bindings.

The package contains the main public interface that application code can use to render OpenGL drawing. Other packages below this are implementation-specific and thus not to be used by applications.

To use this package, you will need set the system property opengl.factory.class.name. There are two ways of doing this: command line and code.

Setting it using the command line:

 java -Dopengl.factory.class.name=org.j3d.opengl.swt.SWTRIDrawableFactory ...

or using a privileged block of code:

  AccessController.doPrivileged(new PrivilegedAction() {
          public Object run() {
                System.setProperty("opengl.factory.class.name",
                                   "org.j3d.opengl.swt.SWTRIDrawableFactory");
                return null;
          }
        });

Implementation Notes

The following features are not implemented currently:


j3d.org OpenGL SWT Bindings

Latest Info from http://www.j3d.org/
Copyright © 2003 - 2005 j3d.org