You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
29 lines
538 B
C++
29 lines
538 B
C++
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
|
||
|
|
#include "MicrosoftCommon.h"
|
||
|
|
|
||
|
|
#if PLATFORM_WINDOWS
|
||
|
|
|
||
|
|
#if WMFMEDIA_SUPPORTED_PLATFORM
|
||
|
|
#pragma comment(lib, "mfplat")
|
||
|
|
#pragma comment(lib, "mfuuid")
|
||
|
|
#pragma comment(lib, "Mfreadwrite")
|
||
|
|
#endif
|
||
|
|
|
||
|
|
namespace AVEncoder
|
||
|
|
{
|
||
|
|
|
||
|
|
//ID3D11Device* GetUE4DxDevice()
|
||
|
|
//{
|
||
|
|
// auto Device = static_cast<ID3D11Device*>(GDynamicRHI->RHIGetNativeDevice());
|
||
|
|
// checkf(Device != nullptr, TEXT("Failed to get UE4's ID3D11Device"));
|
||
|
|
// return Device;
|
||
|
|
//}
|
||
|
|
//
|
||
|
|
|
||
|
|
|
||
|
|
} // namespace AVEncoder
|
||
|
|
|
||
|
|
#endif // PLATFORM_WINDOWS
|
||
|
|
|