Can Jogl handle openGL extension?
For example, glTexImage3DEXT and GL_TEXTURE_3D_EXT.
Can I use glTexImage3D instead of glTexImage3DEXT in Jogl?
Thanks,
Can Jogl handle openGL extension?
For example, glTexImage3DEXT and GL_TEXTURE_3D_EXT.
Can I use glTexImage3D instead of glTexImage3DEXT in Jogl?
Thanks,
By OpenGL extension, I mean the following, glext.h, wglext.h and glui.h.
If I want to use them in Jogl, should I write a jni wrapper for each extension?
Thanks.
JOGL supports nearly all OpenGL extensions – the current nightly build contains all functions up to and including OpenGL 2.1 and NVidia’s GeForce 8 series extensions. See the JSR-231 documentation overview for some more information. Note that OpenGL extensions that were folded into OpenGL 1.3 are not exposed in the JSR-231 API. We assume that if you want to call those functions that you are running on an OpenGL 1.3 or later implementation.
You need to call GL.isFunctionAvailable() or GL.isExtensionAvailable() to query at run time for the availability of various extensions. This is described in the overview documentation for the GL class.