You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-151087 #rnx #rb Eric.McDaniel #preflight 62c6f1998558075f424dfe9c [CL 20984075 by David Harvey in ue5-main branch]
51 lines
932 B
C#
51 lines
932 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using UnrealBuildTool;
|
|
|
|
namespace Gauntlet
|
|
{
|
|
/// <summary>
|
|
/// Skeleton Windows PGO platform implementation (primarily used to test PGO locally with editor builds)
|
|
/// </summary>
|
|
internal abstract class WinBasePGOPlatform : IPGOPlatform
|
|
{
|
|
UnrealTargetPlatform Platform;
|
|
|
|
protected WinBasePGOPlatform(UnrealTargetPlatform InPlatform)
|
|
{
|
|
Platform = InPlatform;
|
|
}
|
|
|
|
public UnrealTargetPlatform GetPlatform()
|
|
{
|
|
return Platform;
|
|
}
|
|
|
|
public void GatherResults(string ArtifactPath)
|
|
{
|
|
|
|
}
|
|
|
|
public void ApplyConfiguration(PGOConfig Config)
|
|
{
|
|
|
|
}
|
|
|
|
public bool TakeScreenshot(ITargetDevice Device, string ScreenshotDirectory, out string ImageFilename)
|
|
{
|
|
ImageFilename = string.Empty;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
internal class WindowsPGOPlatform : WinBasePGOPlatform
|
|
{
|
|
public WindowsPGOPlatform() : base(UnrealTargetPlatform.Win64)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|