JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.util.GLDrawableUtil.ReshapeGLEventListener Class Reference

GLRunnable to issue GLEventListener#reshape(GLAutoDrawable, int, int, int, int), returning true on GLRunnable#run(GLAutoDrawable). More...

Inheritance diagram for com.jogamp.opengl.util.GLDrawableUtil.ReshapeGLEventListener:
Collaboration diagram for com.jogamp.opengl.util.GLDrawableUtil.ReshapeGLEventListener:

Public Member Functions

 ReshapeGLEventListener (final GLEventListener listener, final boolean displayAfterReshape)
 
boolean run (final GLAutoDrawable drawable)
 
boolean run (GLAutoDrawable drawable)
 

Detailed Description

Constructor & Destructor Documentation

◆ ReshapeGLEventListener()

com.jogamp.opengl.util.GLDrawableUtil.ReshapeGLEventListener.ReshapeGLEventListener ( final GLEventListener  listener,
final boolean  displayAfterReshape 
)
Parameters
listener
displayAfterReshapetrue to issue GLEventListener#display(GLAutoDrawable) after GLEventListener#reshape(GLAutoDrawable, int, int, int, int), otherwise false.

Definition at line 84 of file GLDrawableUtil.java.

Member Function Documentation

◆ run()

boolean com.jogamp.opengl.util.GLDrawableUtil.ReshapeGLEventListener.run ( final GLAutoDrawable  drawable)
Parameters
drawablethe associated drawable and current context for this call
Returns
true if the GL [back] framebuffer remains intact by this runnable, otherwise false. If returning false GLAutoDrawable will call display(GLAutoDrawable) of all registered GLEventListeners once more.
See also
GLRunnable

Implements com.jogamp.opengl.GLRunnable.

Definition at line 89 of file GLDrawableUtil.java.

Here is the call graph for this function:

The documentation for this class was generated from the following file: