You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
-VisionOS 1.x vs 2.x defines set so we can compile for both. -MetalRHI refactor updates. -Compositor pause state implemented (meaning you can take the device off your head and put it back and your app will continue running). -Improved shutdown behavior (still crashes, but later). -cp_layer_ functions protected by mutex locks. -Tested with visionOS 2.0 beta 7 + Xcode 16 beta 6 and with visionOS 1.1 + Xcode 15.3. #jira UE-218027 UE-219571 [REVIEW] 35669997 #rb carl.lloyd [CL 35743090 by jeff fisher in ue5-main branch]
34 lines
862 B
C#
34 lines
862 B
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
namespace UnrealBuildTool
|
|
{
|
|
class VisionOSToolChainSettings : IOSToolChainSettings
|
|
{
|
|
public VisionOSToolChainSettings(ILogger Logger) : base("XROS", "XRSimulator", "xros", Logger)
|
|
{
|
|
}
|
|
}
|
|
|
|
class VisionOSToolChain : IOSToolChain
|
|
{
|
|
private VisionOSToolChainSettings Settings => (VisionOSToolChainSettings)ToolChainSettings.Value;
|
|
|
|
public VisionOSToolChain(ReadOnlyTargetRules InTarget, VisionOSProjectSettings InProjectSettings, ILogger InLogger)
|
|
: base(InTarget, InProjectSettings, () => new VisionOSToolChainSettings(InLogger), ClangToolChainOptions.None, InLogger)
|
|
{
|
|
}
|
|
|
|
public override string GetXcodeMinVersionParam(UnrealArch Architecture)
|
|
{
|
|
return "";
|
|
}
|
|
|
|
public float GetSDKVersionFloat()
|
|
{
|
|
return Settings.SDKVersionFloat;
|
|
}
|
|
}
|
|
}
|