Class RenderThread

java.lang.Object
zombie.core.opengl.RenderThread

public class RenderThread extends Object
  • Field Details

    • RenderThread

      public static Thread RenderThread
    • m_contextLock

      public static final Object m_contextLock
  • Constructor Details

    • RenderThread

      public RenderThread()
  • Method Details

    • init

      public static void init()
    • initServerGUI

      public static void initServerGUI()
    • renderLoop

      public static void renderLoop()
    • isWaitForRenderState

      public static boolean isWaitForRenderState()
    • setWaitForRenderState

      public static void setWaitForRenderState(boolean wait)
    • logGLException

      public static void logGLException(org.lwjglx.opengl.OpenGLException glEx)
    • logGLException

      public static void logGLException(org.lwjglx.opengl.OpenGLException glEx, boolean stackTrace)
    • Ready

      public static void Ready()
    • invokeOnRenderContext

      public static void invokeOnRenderContext(Runnable toInvoke) throws RenderContextQueueException
      Throws:
      RenderContextQueueException
    • invokeOnRenderContext

      public static <T1> void invokeOnRenderContext(T1 val1, Invokers.Params1.ICallback<T1> invoker)
    • invokeOnRenderContext

      public static <T1, T2> void invokeOnRenderContext(T1 val1, T2 val2, Invokers.Params2.ICallback<T1,T2> invoker)
    • invokeOnRenderContext

      public static <T1, T2, T3> void invokeOnRenderContext(T1 val1, T2 val2, T3 val3, Invokers.Params3.ICallback<T1,T2,T3> invoker)
    • invokeOnRenderContext

      public static <T1, T2, T3, T4> void invokeOnRenderContext(T1 val1, T2 val2, T3 val3, T4 val4, Invokers.Params4.ICallback<T1,T2,T3,T4> invoker)
    • queueInvokeOnRenderContext

      public static void queueInvokeOnRenderContext(Runnable runnable)
    • queueInvokeOnRenderContext

      public static void queueInvokeOnRenderContext(RenderContextQueueItem queueItem)
    • shutdown

      public static void shutdown()
    • isCloseRequested

      public static boolean isCloseRequested()
    • getDisplayWidth

      public static int getDisplayWidth()
    • getDisplayHeight

      public static int getDisplayHeight()
    • isRunning

      public static boolean isRunning()
    • startRendering

      public static void startRendering()
    • onGameThreadExited

      public static void onGameThreadExited()
    • isCursorVisible

      public static boolean isCursorVisible()