Class GLThread

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

public final class GLThread extends Object
  • Constructor Details

    • GLThread

      public GLThread()
  • Method Details

    • setSubmitToGLThread

      public static void setSubmitToGLThread(Consumer<Runnable> consumer)
    • submitToGLThread

      public static void submitToGLThread(Runnable task)
      If the current thread is the GL thread, the task may be executed immediately.