Package com.jogamp.opengl.util
Interface CustomGLEventListener
-
- All Superinterfaces:
EventListener
,GLEventListener
- All Known Subinterfaces:
StereoGLEventListener
public interface CustomGLEventListener extends GLEventListener
ExtendedGLEventListener
interface supporting more fine grained control over the implementation.
-
-
Field Summary
Fields Modifier and Type Field Description static int
DISPLAY_DONTCLEAR
display flag
: Do not clear any target buffer, e.g.static int
DISPLAY_REPEAT
display flag
: Repeat last produced image.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
display(GLAutoDrawable drawable, int flags)
Extendeddisplay
method, 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
display
call, 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)
Extendeddisplay
method, allowing to pass a display flag, e.g.DISPLAY_REPEAT
orDISPLAY_DONTCLEAR
.Method is usually called by a custom rendering loop, e.g. for manual stereo rendering or the like.
- Parameters:
drawable
-flags
-
-
-