To create a JOGL program, it is required to understand the following interfaces: -
- GLEventListener interface
- GLAutodrawable interface
JOGLGLEventListener Interface
To make your program capable of using JOGL graphical API, you need to implement GLEventListener interface. You can find the GLEventListenerinterface in the javax.media.opengl package.
JOGL GLAutoDrawable Interface
This interface supplies an event-based mechanism (GLEventListener) for performing OpenGL rendering. GLAutoDrawable automatically creates a primary rendering context which is associated with GLAutoDrawable for the lifetime of the object.
0 comments:
Post a Comment