Class GLThread
java.lang.Object
dev.pfaff.altargui.util.GLThread
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TaskExecutor
If the current thread is the GL thread, thetask
will be queued for later execution.static TaskExecutor
executor()
If the current thread is the GL thread, thetask
may be executed immediately.static void
setAsyncExecutor
(TaskExecutor executor) static void
setExecutor
(TaskExecutor executor)
-
Constructor Details
-
GLThread
public GLThread()
-
-
Method Details
-
setExecutor
-
setAsyncExecutor
-
executor
If the current thread is the GL thread, thetask
may be executed immediately. -
asyncExecutor
If the current thread is the GL thread, thetask
will be queued for later execution. Do not attempt to call any of theexecute*
methods on this executor.
-