You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb Catalin.Dragoiu #fyi Andriy.Tylychko [CL 16123410 by ionut matasaru in ue5-main branch]
39 lines
1.0 KiB
C++
39 lines
1.0 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "UnrealInsightsMain.h"
|
|
|
|
#include "CoreGlobals.h"
|
|
#include "RequiredProgramMainCPPInclude.h"
|
|
#include "UserInterfaceCommand.h"
|
|
|
|
IMPLEMENT_APPLICATION(UnrealInsights, "UnrealInsights");
|
|
|
|
/**
|
|
* Platform agnostic implementation of the main entry point.
|
|
*/
|
|
int32 UnrealInsightsMain(const TCHAR* CommandLine)
|
|
{
|
|
FTaskTagScope Scope(ETaskTag::EGameThread);
|
|
|
|
// Override the stack size for the thread pool.
|
|
FQueuedThreadPool::OverrideStackSize = 256 * 1024;
|
|
|
|
// Initialize core.
|
|
GEngineLoop.PreInit(CommandLine);
|
|
|
|
// Make sure all UObject classes are registered and default properties have been initialized.
|
|
//ProcessNewlyLoadedUObjects();
|
|
|
|
// Tell the module manager it may now process newly-loaded UObjects when new C++ modules are loaded.
|
|
FModuleManager::Get().StartProcessingNewlyLoadedObjects();
|
|
|
|
FUserInterfaceCommand::Run();
|
|
|
|
// Shut down.
|
|
//FCoreDelegates::OnExit.Broadcast();
|
|
FEngineLoop::AppPreExit();
|
|
FModuleManager::Get().UnloadModulesAtShutdown();
|
|
|
|
return 0;
|
|
}
|