private void ResumeSystemThreads() { ThreadRender.StartThread("Render", null); ThreadLogic.StartThread("Logic", null); ThreadAsync.StartThread("AsyncIO", null); ThreadPhysics.StartThread("Physics", null); if (CIPlatform.Instance.PlayMode != CIPlatform.enPlayMode.Game) ThreadAsyncEditor.StartThread("AsyncEditor", null); EventPoster.StartPools(Desc.ThreadPoolCount); }
private void PauseSystemThreads() { ThreadRender.StopThread(null); ThreadLogic.StopThread(null); ThreadAsync.StopThread(null); ThreadPhysics.StopThread(null); if (CIPlatform.Instance.PlayMode != CIPlatform.enPlayMode.Game) ThreadAsyncEditor.StopThread(null); EventPoster.StopPools(); }
private void StopSystemThreads() { //CEngine.Instance.ThreadMain.FrameBegin(); ThreadRender.StopThread(null); ThreadLogic.StopThread(null); ThreadAsync.StopThread(null); ThreadPhysics.StopThread(null); if (CIPlatform.Instance.PlayMode != CIPlatform.enPlayMode.Game) { ThreadAsyncEditor.StopThread(null); ThreadAsyncEditorSlow.StopThread(null); } EventPoster.StopPools(); }
private void StartSystemThreads() { ThreadRHI.FromCurrent("RHI"); ThreadMain.FromCurrent("Main"); ThreadEditor.FromCurrent("Editor"); ThreadLogic.StartThread("Logic", null); ThreadRender.StartThread("Render", null); ThreadAsync.StartThread("AsyncIO", null); ThreadPhysics.StartThread("Physics", null); if (CIPlatform.Instance.PlayMode != CIPlatform.enPlayMode.Game) { ThreadAsyncEditor.StartThread("AsyncEditor", null); ThreadAsyncEditorSlow.StartThread("AsyncEditorSlow", null); } EventPoster.StartPools(Desc.ThreadPoolCount); }