Files
UnrealEngineUWP/Engine/Source/Runtime/GameplayMediaEncoder/GameplayMediaEncoder.Build.cs
christopher waters b7f30cbbaf Adding minimal interfaces to D3D11 and D3D12 RHIs
- Adding ID3D12DynamicRHI and ID3D11DynamicRHI interfaces for plugins that want to touch DirectX resources/devices directly.
- Adding specific headers for including DirectX headers: D3D12ThirdParty.h and D3D11ThirdParty.h
- Modifying plugins that were using D3D11RHIPrivate.h and D3D12RHIPrivate.h to use the interfaces instead.
- Removing plugin references to UE Modules and ThirdParty libraries that were only needed because they included the private RHI headers.
- Removing D3D11RHI/Private and D3D12RHI/Private from plugin include paths.

#jira none
#rb jeannoe.morissette, kenzo.terelst, mihnea.balta, eric.mcdaniel
#preflight 6222395bb066ef60bbad004a

[CL 19267223 by christopher waters in ue5-main branch]
2022-03-04 11:34:00 -05:00

42 lines
1.1 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using System.IO;
using UnrealBuildTool;
[SupportedPlatforms("Win64")]
public class GameplayMediaEncoder : ModuleRules
{
public GameplayMediaEncoder(ReadOnlyTargetRules Target) : base(Target)
{
// NOTE: General rule is not to access the private folder of another module,
// but to use the ISubmixBufferListener interface, we need to include some private headers
PrivateIncludePaths.Add(System.IO.Path.Combine(Directory.GetCurrentDirectory(), "./Runtime/AudioMixer/Private"));
PrivateDependencyModuleNames.AddRange(new string[]
{
"Core",
"Engine",
"CoreUObject",
"ApplicationCore",
"RenderCore",
"RHI",
"SlateCore",
"Slate",
"HTTP",
"Json",
"AVEncoder"
});
if (Target.Platform == UnrealTargetPlatform.Win64)
{
PrivateDependencyModuleNames.Add("D3D11RHI");
AddEngineThirdPartyPrivateStaticDependencies(Target, "DX11");
PublicDelayLoadDLLs.Add("mfplat.dll");
PublicDelayLoadDLLs.Add("mfuuid.dll");
PublicDelayLoadDLLs.Add("Mfreadwrite.dll");
}
}
}