public static ucThreadDispatcher Initialize() { if (_instance == null) { Debug.Log("Init ucThreadDispatcher Manager!"); _instance = new ucThreadDispatcher(); } return(_instance); }
void LightprobeBakingStart() { Debug.Log("Export scene data..."); ucExportMesh.mrt_datas = ucObjectMrt.StartExportData(); if (dll_function_caller == null) { if (thread_dispatcher == null) { thread_dispatcher = ucThreadDispatcher.Initialize(); } dll_function_caller = new ucDLLFunctionCaller(thread_dispatcher); } dll_function_caller.LoadDLLAndInit(); dll_function_caller.StartLightprobeBaking(); }
void GenerateSurfelStart() { Debug.Log("Export scene data..."); //ucExportMesh.mrt_datas = ucObjectMrt.StartExportData(); if (dll_function_caller == null) { if (thread_dispatcher == null) { thread_dispatcher = ucThreadDispatcher.Initialize(); } dll_function_caller = new ucDLLFunctionCaller(thread_dispatcher); } dll_function_caller.LoadDLLAndInitSurfel(); //dll_function_caller.StartGenerateSurfelData(); dll_function_caller.StartDebugDirectionalData(); }
public ucDLLFunctionCaller(ucThreadDispatcher thread_dispatcher) { this.thread_dispatcher = thread_dispatcher; }