You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb matt.peters #ROBOMERGE-SOURCE: CL 16323208 in //UE5/Main/... #ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v804-16311228) [CL 16323244 by zousar shaker in ue5-release-engine-test branch]
44 lines
1012 B
C++
44 lines
1012 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
#include "DerivedDataBuildFunction.h"
|
|
#include "DerivedDataBuildWorkerInterface.h"
|
|
#include "Serialization/CompactBinary.h"
|
|
#include "Templates/Function.h"
|
|
#include "UObject/NameTypes.h"
|
|
|
|
namespace UE::DerivedData
|
|
{
|
|
|
|
class FBuildLoop
|
|
{
|
|
public:
|
|
bool Init();
|
|
|
|
using FBuildFunctionCallback = TFunctionRef<bool(FName, FBuildContext&)>;
|
|
void PerformBuilds(const FBuildFunctionCallback& BuildFunctionCallback);
|
|
|
|
void Teardown();
|
|
private:
|
|
FString CommonInputPath;
|
|
FString CommonOutputPath;
|
|
|
|
friend class FWorkerBuildContext;
|
|
|
|
struct FBuildActionRecord
|
|
{
|
|
const FString SourceFilePath;
|
|
const FString OutputFilePath;
|
|
const FString InputPath;
|
|
const FString OutputPath;
|
|
const FCbObject BuildAction;
|
|
|
|
FBuildActionRecord(const FString& InSourceFilePath, const FString& InCommonInputPath, const FString& InCommonOutputPath, FSharedBuffer&& InSharedBuffer);
|
|
};
|
|
TArray<FBuildActionRecord> BuildActionRecords;
|
|
};
|
|
|
|
} |