com.jogamp.opengl.impl
Class GLRunnableTask
java.lang.Object
com.jogamp.opengl.impl.GLRunnableTask
- All Implemented Interfaces:
- GLRunnable
public class GLRunnableTask
- extends Object
- implements GLRunnable
Helper class to provide a Runnable queue implementation with a Runnable wrapper
which notifies after execution for the invokeAndWait()
semantics.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GLRunnableTask
public GLRunnableTask(GLRunnable runnable,
Object notifyObject,
boolean catchExceptions)
run
public void run(GLAutoDrawable drawable)
- Description copied from interface:
GLRunnable
- Called by the drawable to initiate one-shot OpenGL commands by the
client, like
GLEventListener.display(GLAutoDrawable)
.
- Specified by:
run
in interface GLRunnable
isExecuted
public boolean isExecuted()
getThrowable
public Throwable getThrowable()
Copyright 2010 JogAmp Community.