UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AVEncoderDebug.h File Reference

Go to the source code of this file.

Macros

#define DEBUG_SET_D3D11_OBJECT_NAME(D3D11Object, Name)
 
#define DEBUG_D3D11_REPORT_LIVE_DEVICE_OBJECT(D3D11Device)
 

Macro Definition Documentation

◆ DEBUG_D3D11_REPORT_LIVE_DEVICE_OBJECT

#define DEBUG_D3D11_REPORT_LIVE_DEVICE_OBJECT (   D3D11Device)
Value:
if((D3D11Device)) \
{ \
if(D3D11Device->QueryInterface(__uuidof(ID3D11Debug), (void**)DebugInterface.GetInitReference()) == S_OK) \
{ \
} \
}
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition RefCounting.h:454

◆ DEBUG_SET_D3D11_OBJECT_NAME

#define DEBUG_SET_D3D11_OBJECT_NAME (   D3D11Object,
  Name 
)
Value:
{\
static GUID _D3DDebugObjectNameW = {0x4cca5fd8,0x921f,0x42c8,{0x85,0x66,0x70,0xca,0xf2,0xa9,0xb7,0x41}}; \
FString SetName = FString::Printf(TEXT("%s (%s:%d)"), *FString(Name), *FPaths::GetCleanFilename(FString(__FILE__)), __LINE__); \
D3D11Object->SetPrivateData(_D3DDebugObjectNameW, SetName.Len() * sizeof(TCHAR), *SetName); \
}
#define TEXT(x)
Definition Platform.h:1272
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
static CORE_API FString GetCleanFilename(const FString &InPath)
Definition Paths.cpp:967