|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GLRenderObject
Interface for all objects that can be "rendered" in a Jogl GL window. This does not necessarily imply that any direct visualization is associated with the object, but rather that the "glInit" method can be called, while the OpenGL context is initializing, and that the "glRender" method can be called for every frame that is being rendered. These methods will be called when a "current" OpenGL context is available, passed on via the GLRenderContext parameter. Note that OpenGL "initialization" typically happens only once, but might be called several times, so the glInit method should be able to deal with repreated calls. The glRender call on the other hand will be called repeatedly, typically once for every frame being rendered.
| Method Summary | |
|---|---|
void |
glInit(GLRenderContext gl)
Called during OpenGL initialization. |
void |
glRender(GLRenderContext gl)
Called during openGL rendering. |
| Method Detail |
|---|
void glInit(GLRenderContext gl)
void glRender(GLRenderContext gl)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||