You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
This represents UE4/Main @ 16445039 and Dev-PerfTest @ 16444526 [CL 16488106 by aurel cordonnier in ue5-main branch]
21 lines
459 B
C++
21 lines
459 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "VideoCommon.h"
|
|
#include "CodecPacket.h"
|
|
|
|
namespace AVEncoder
|
|
{
|
|
|
|
#if PLATFORM_WINDOWS
|
|
void DebugSetD3D11ObjectName(ID3D11DeviceChild* InD3DObject, const char* InName)
|
|
{
|
|
static GUID _D3DDebugObjectName = { 0x429b8c22, 0x9188, 0x4b0c, {0x87, 0x42, 0xac, 0xb0, 0xbf, 0x85, 0xc2, 0x00} };
|
|
if (InD3DObject)
|
|
{
|
|
InD3DObject->SetPrivateData(_D3DDebugObjectName, strlen(InName), InName);
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|