Interface GLRunnable

All Known Implementing Classes:
GLDrawableUtil.ReshapeGLEventListener

public interface GLRunnable

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 Type
    Method
    Description
    boolean
    run(GLAutoDrawable drawable)