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() throws IOException, org.lwjglx.LWJGLException
      Throws:
      IOException
      org.lwjglx.LWJGLException
    • initServerGUI

      public static void initServerGUI()
    • getRenderTime

      public static long getRenderTime()
    • renderLoop

      public static void renderLoop()
    • getWaitTime

      public static long getWaitTime()
    • isWaitForRenderState

      public static boolean isWaitForRenderState()
    • setWaitForRenderState

      public static void setWaitForRenderState(boolean wait)
    • logGLException

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

      public static void logGLException(org.lwjglx.opengl.OpenGLException openGLException, boolean boolean0)
    • Ready

      public static void Ready()
    • invokeOnRenderContext

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

      public static boolean invokeQueryOnRenderContext(Invokers.Params0.Boolean.ICallback iCallback)
    • invokeOnRenderContext

      public static <T1> void invokeOnRenderContext(T1 object, Invokers.Params1.ICallback<T1> iCallback)
    • invokeOnRenderContext

      public static <T1, T2> void invokeOnRenderContext(T1 object0, T2 object1, Invokers.Params2.ICallback<T1,T2> iCallback)
    • invokeOnRenderContext

      public static <T1, T2, T3> void invokeOnRenderContext(T1 object0, T2 object1, T3 object2, Invokers.Params3.ICallback<T1,T2,T3> iCallback)
    • invokeOnRenderContext

      public static <T1, T2, T3, T4> void invokeOnRenderContext(T1 object0, T2 object1, T3 object2, T4 object3, Invokers.Params4.ICallback<T1,T2,T3,T4> iCallback)
    • notifyRenderStateQueue

      protected static void notifyRenderStateQueue()
    • 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()