Package com.jogamp.opengl.util
Interface CustomGLEventListener
-
- All Superinterfaces:
EventListener,GLEventListener
- All Known Subinterfaces:
StereoGLEventListener
public interface CustomGLEventListener extends GLEventListener
ExtendedGLEventListenerinterface supporting more fine grained control over the implementation.
-
-
Field Summary
Fields Modifier and Type Field Description static intDISPLAY_DONTCLEARdisplay flag: Do not clear any target buffer, e.g.static intDISPLAY_REPEATdisplay flag: Repeat last produced image.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddisplay(GLAutoDrawable drawable, int flags)Extendeddisplaymethod, allowing to pass a display flag, e.g.-
Methods inherited from interface com.jogamp.opengl.GLEventListener
display, dispose, init, reshape
-
-
-
-
Field Detail
-
DISPLAY_REPEAT
static final int DISPLAY_REPEAT
display flag: Repeat last produced image.While a repeated frame shall produce the same artifacts as the last
displaycall, e.g. not change animated objects, it shall reflect thecurrent matrix.- See Also:
- Constant Field Values
-
DISPLAY_DONTCLEAR
static final int DISPLAY_DONTCLEAR
display flag: Do not clear any target buffer, e.g. color-, depth- or stencil-buffers.- See Also:
- Constant Field Values
-
-
Method Detail
-
display
void display(GLAutoDrawable drawable, int flags)
Extendeddisplaymethod, allowing to pass a display flag, e.g.DISPLAY_REPEATorDISPLAY_DONTCLEAR.Method is usually called by a custom rendering loop, e.g. for manual stereo rendering or the like.
- Parameters:
drawable-flags-
-
-