You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Added multithreaded handling of cooking output. Added support for launch on recompiling changed global shaders when cook in editor. [CL 2618476 by Daniel Lamb in Main branch]
36 lines
608 B
C++
36 lines
608 B
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
#include "CookingStatsPCH.h"
|
|
#include "CookingStatsModule.h"
|
|
|
|
#include "Developer/MessageLog/Public/MessageLogModule.h"
|
|
|
|
#define LOCTEXT_NAMESPACE "CookingStats"
|
|
|
|
|
|
IMPLEMENT_MODULE(FCookingStatsModule, CookingStats);
|
|
|
|
void FCookingStatsModule::StartupModule()
|
|
{
|
|
CookingStats = new FCookingStats();
|
|
|
|
}
|
|
|
|
|
|
void FCookingStatsModule::ShutdownModule()
|
|
{
|
|
if (CookingStats)
|
|
{
|
|
delete CookingStats;
|
|
CookingStats = NULL;
|
|
}
|
|
}
|
|
|
|
ICookingStats& FCookingStatsModule::Get() const
|
|
{
|
|
check(CookingStats);
|
|
return *CookingStats;
|
|
}
|
|
|
|
#undef LOCTEXT_NAMESPACE |