SpiecsEngine
 
Loading...
Searching...
No Matches

◆ Application() [1/2]

Spices::Application::Application ( )

Constructor Function.

Init Log Class.

Init General ThreadPool.

Init all Systems.

Init Log Class.

Init General ThreadPool.

Init all Systems.

Definition at line 23 of file Application.cpp.

24 {
26
30 Log::Init();
31
35 ThreadModel::Get()->InitCustomThreadPool();
36 ThreadModel::Get()->InitGameThreadPool();
37
41 SystemManager().Get()
42 .PushSystem<NativeScriptSystem>()
43 .PushSystem<RenderSystem>()
44 .PushSystem<ResourceSystem>()
45 .PushSystem<SlateSystem>();
46 }
#define SPICES_PROFILE_ZONE
static void Init()
Init Log.
Definition Log.cpp:24
static std::shared_ptr< ThreadModel > Get()
Get ThreadModel single instance.

References Spices::SystemManager::Get(), Spices::Log::Init(), and Spices::SystemManager::SystemManager().

Referenced by main().