|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.mines.jtk.ogl.Gl
public class Gl
OpenGL standard constants and methods. These static constants and methods wrap those provided by JOGL. The reason for this wrapper is to make OpenGL programming in Java more like that in C or C++. For example, where with JOGL we might write
gl.glClear(GL.GL_COLOR_BUFFER_BIT);
with this wrapper we can write
glClear(GL_COLOR_BUFFER_BIT);
The static methods in this class use the OpenGL context that is current
for the current thread. This class is stateless, and can be used with any
JOGL class.