Esempio n. 1
0
 public static ucThreadDispatcher Initialize()
 {
     if (_instance == null)
     {
         Debug.Log("Init ucThreadDispatcher Manager!");
         _instance = new ucThreadDispatcher();
     }
     return(_instance);
 }
Esempio n. 2
0
    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();
    }
Esempio n. 3
0
    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;
 }