Class GLThread

java.lang.Object
dev.pfaff.altargui.util.GLThread

public final class GLThread extends Object
  • Constructor Details

    • GLThread

      public GLThread()
  • Method Details

    • setExecutor

      public static void setExecutor(TaskExecutor executor)
    • setAsyncExecutor

      public static void setAsyncExecutor(TaskExecutor executor)
    • executor

      public static TaskExecutor executor()
      If the current thread is the GL thread, the task may be executed immediately.
    • asyncExecutor

      public static TaskExecutor asyncExecutor()
      If the current thread is the GL thread, the task will be queued for later execution. Do not attempt to call any of the execute* methods on this executor.