Top Description Fields Methods
com.jogamp.opengl.util

public Interface CustomGLEventListener

extends GLEventListener
Known Direct Subinterfaces
com.jogamp.opengl.util.stereo.StereoGLEventListener
Imports
com.jogamp.opengl.GLAutoDrawable, .GLEventListener

Extended GLEventListener interface supporting more fine grained control over the implementation.

Field Summary

Modifier and TypeField and Description
public static final int
DISPLAY_DONTCLEAR

display flag: Do not clear any target buffer, e.g. color-, depth- or stencil-buffers.

public static final int
DISPLAY_REPEAT

display flag: Repeat last produced image.

Method Summary

Modifier and TypeMethod and Description
public void
display(final GLAutoDrawable drawable, final int flags)

Extended display method, allowing to pass a display flag, e.g. DISPLAY_REPEAT or DISPLAY_DONTCLEAR.

Inherited from com.jogamp.opengl.GLEventListener:
displaydisposeinitreshape

Field Detail

DISPLAY_DONTCLEARback to summary
public static final int DISPLAY_DONTCLEAR

display flag: Do not clear any target buffer, e.g. color-, depth- or stencil-buffers.

DISPLAY_REPEATback to summary
public 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 the current matrix.

Method Detail

displayback to summary
public void display(final GLAutoDrawable drawable, final int flags)

Extended display method, allowing to pass a display flag, e.g. DISPLAY_REPEAT or DISPLAY_DONTCLEAR.

Method is usually called by a custom rendering loop, e.g. for manual stereo rendering or the like.