erdncozdmr27 2c2219b3e8 dlss and fsr plugin added
dlss is not active. FSR is standart mode force active. We will make the arrangements together with Gurkan
2025-03-29 16:06:55 +03:00

57 lines
1.3 KiB
C#

/*
* Copyright (c) 2020 - 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
*
* NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
* property and proprietary rights in and to this material, related
* documentation and any modifications thereto. Any use, reproduction,
* disclosure or distribution of this material and related documentation
* without an express license agreement from NVIDIA CORPORATION or
* its affiliates is strictly prohibited.
*/
using UnrealBuildTool;
using System.IO;
public class DLSSBlueprint : ModuleRules
{
protected virtual bool IsSupportedPlatform(ReadOnlyTargetRules Target)
{
return Target.Platform.IsInGroup(UnrealPlatformGroup.Windows);
}
public DLSSBlueprint(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
PrivateDependencyModuleNames.AddRange(
new string[]
{
"Core",
"CoreUObject",
"Engine",
"RenderCore",
"Renderer",
"Projects",
}
);
bool bPlatformSupportsDLSS = IsSupportedPlatform(Target);
PublicDefinitions.Add("WITH_DLSS=" + (bPlatformSupportsDLSS ? '1' : '0'));
if (bPlatformSupportsDLSS)
{
PrivateDependencyModuleNames.AddRange(
new string[]
{
"NGX",
"NGXRHI",
"DLSS",
}
);
}
}
}