MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Perform

Method Perform

Source/Editor/Cooker/Steps/PostProcessStep.cpp:7–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include "Engine/Platform/FileSystem.h"
6
7bool PostProcessStep::Perform(CookingData& data)
8{
9 // Print .NET stats
10 const DotNetAOTModes aotMode = data.Tools->UseAOT();
11 uint64 outputSize = FileSystem::GetDirectorySize(data.DataOutputPath / TEXT("Dotnet"));
12 if (aotMode == DotNetAOTModes::None)
13 {
14 for (auto& binaryModule : data.BinaryModules)
15 outputSize += FileSystem::GetFileSize(data.DataOutputPath / binaryModule.ManagedPath);
16 }
17 LOG(Info, "Output .NET files size: {0} MB", (uint32)(outputSize / (1024ull * 1024)));
18
19 GameCooker::PostProcessFiles();
20 return data.Tools->OnPostProcess(data);
21}

Callers

nothing calls this directly

Calls 2

UseAOTMethod · 0.45
OnPostProcessMethod · 0.45

Tested by

no test coverage detected