|
j3d.org OpenGL SWT Bindings | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.j3d.opengl.swt.SWTGLUtils
public class SWTGLUtils
Utility class for swapping between the stock SWT GL classes and our own.
Method Summary | |
---|---|
static GLCapabilities |
toGLCapabilities(GLData swtData)
Convert a SWT GLData into a GLCapabilties object. |
static GLData |
toGLData(GLCapabilities caps)
Convert from a GLCapabilities to a SWT GLData object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static GLCapabilities toGLCapabilities(GLData swtData)
swtData
- the source data to pull values from
java.lang.NullPointerException
- The swtData instance was nullpublic static GLData toGLData(GLCapabilities caps)
caps
- The capabilities to copy
|
j3d.org OpenGL SWT Bindings | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |