Top Description Methods
com.jogamp.opengl

public Interface GLRunnable

Known Direct Implementers
com.jogamp.opengl.util.GLDrawableUtil.ReshapeGLEventListener, jogamp.opengl.GLRunnableTask

Declares a one-shot OpenGL command usable for injection via GLAutoDrawable#invoke(boolean, com.jogamp.opengl.GLRunnable).
GLAutoDrawable executes the GLRunnables within it's display() method after all registered GLEventListeners display(GLAutoDrawable) methods has been called.

The OpenGL context is current while executing the GLRunnable.

This might be useful to inject OpenGL commands from an I/O event listener.

Method Summary

Modifier and TypeMethod and Description
public boolean

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.
run
(GLAutoDrawable
the associated drawable and current context for this call
drawable
)

Method Detail

runback to summary
public boolean run(GLAutoDrawable drawable)
Parameters
drawable:GLAutoDrawable

the associated drawable and current context for this call

Returns:boolean

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