|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
See:
Description
A sample implementation is available as JOGL, a JogAmp module.
Other API bindings are available as JogAmp modules:javax.media.opengl.GL2 interfaceGL3 OpenGL 3.1+ context to benefit
from new functionality and versions.javax.media.opengl.GL3 interfaceGL2GL3 implemented interface.javax.media.opengl.GL3bc interfaceGL2 and GL3.javax.media.opengl.GLES1 interfacejavax.media.opengl.GLES2 interfacejavax.media.opengl.GLBase interfacejavax.media.opengl.GL interfacejavax.media.opengl.GL2ES1 interfacejavax.media.opengl.GL2ES2 interfacejavax.media.opengl.GL2GL3 interfaceByteBuffer.allocateDirect(...).order(ByteOrder.nativeOrder());.
The byte order of the ByteBuffer indicates how multi-byte values such as
int and float are stored in the Buffer either using methods like putInt and
putFloat or views such as IntBuffer or FloatBuffer. The Java bindings perform
no conversion or byte swapping on the outgoing data to OpenGL, and the native
OpenGL implementation expects data in the host CPU's byte order, so it is
essential to always match the byte order of the underlying platform when
filling Buffers with data. javax.media.opengl.GL3 interface
GL3/gl3.h.GL_ARB_compatibility, is chosen because:
javax.media.opengl.GL2 interface
GL3 Desktop RequirementsGL2 Desktop Requirementshttp://www.jcp.org/en/jsr/detail?id=231
http://www.opengl.org/registry/doc/glspec41.core.20100725.withchanges.pdf
http://www.opengl.org/registry/doc/glspec41.compatibility.20100725.withchanges.pdf
http://www.opengl.org/registry/doc/glspec30.20080923.pdf
http://www.opengl.org/registry/doc/glspec21.20061201.pdf
http://www.opengl.org/registry/
http://www.khronos.org/registry/gles/specs/2.0/es_full_spec_2.0.24.pdf
http://www.khronos.org/registry/gles/specs/1.1/es_full_spec_1.1.12.pdf
http://www.khronos.org/registry/gles/
http://www.opengl.org/documentation/specs/glu/glu1_3.pdf
http://www.opengl.org/about/arb/index.html
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||