|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
Extended GLEventListener interface supporting more fine grained control over the implementation.
More...
Public Member Functions | |
| void | display (final GLAutoDrawable drawable, final int flags) |
Extended display method, allowing to pass a display flag, e.g. More... | |
Public Member Functions inherited from com.jogamp.opengl.GLEventListener | |
| void | init (GLAutoDrawable drawable) |
| Called by the drawable immediately after the OpenGL context is initialized. More... | |
| void | dispose (GLAutoDrawable drawable) |
| Notifies the listener to perform the release of all OpenGL resources per GLContext, such as memory buffers and GLSL programs. More... | |
| void | display (GLAutoDrawable drawable) |
| Called by the drawable to initiate OpenGL rendering by the client. More... | |
| void | reshape (GLAutoDrawable drawable, int x, int y, int width, int height) |
| Called by the drawable during the first repaint after the component has been resized. More... | |
Static Public Attributes | |
| static final int | DISPLAY_REPEAT = 1 << 0 |
display flag: Repeat last produced image. More... | |
| static final int | DISPLAY_DONTCLEAR = 1 << 1 |
display flag: Do not clear any target buffer, e.g. More... | |
Extended GLEventListener interface supporting more fine grained control over the implementation.
Definition at line 37 of file CustomGLEventListener.java.
| void com.jogamp.opengl.util.CustomGLEventListener.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.
| drawable | |
| flags |
Implemented in com.jogamp.opengl.demos.av.MovieSBSStereo, com.jogamp.opengl.demos.es2.GearsES2, and com.jogamp.opengl.test.junit.jogl.demos.es2.GearsES2.
|
static |
display flag: Do not clear any target buffer, e.g.
color-, depth- or stencil-buffers.
Definition at line 50 of file CustomGLEventListener.java.
|
static |
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.
Definition at line 45 of file CustomGLEventListener.java.