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

Classes

struct  DisplayChromacities
 

Namespaces

namespace  RHIConsoleVariables
 

Typedefs

typedef HRESULT(WINAPIFCreateDXGIFactory2) (UINT, REFIID, void **)
 

Functions

bool D3D11RHI_ShouldAllowAsyncResourceCreation ()
 
bool D3D11_ShouldLogD3DDebugWarnings ()
 
bool D3D11_ShouldBreakOnD3DDebugErrors ()
 
bool D3D11_ShouldBreakOnD3DDebugWarnings ()
 
FAutoConsoleCommand FD3DDumpLiveObjectsCommand (TEXT("r.d3d11.dumpliveobjects"), TEXT("When using -d3ddebug will dump a list of live d3d objects. Mostly for finding leaks."), FConsoleCommandDelegate::CreateStatic(&FD3D11DumpLiveObjects))
 
bool IsDeviceUMA (ID3D11Device *device)
 
void HDRSettingChangedSinkCallback ()
 
const TCHARGetFeatureLevelString (D3D_FEATURE_LEVEL FeatureLevel)
 

Variables

FD3D11DynamicRHIGD3D11RHI = nullptr
 
TAutoConsoleVariable< int32GD3D11DebugCvar (TEXT("r.D3D11.EnableD3DDebug"), 0, TEXT("4 to enable CONTINUING on errors (-d3dcontinueonerrors)\n"), ECVF_RenderThreadSafe|ECVF_ReadOnly)
 
int32 RHIConsoleVariables::MaxFeatureSetLimit = -1
 
const DisplayChromacities DisplayChromacityList []
 

Typedef Documentation

◆ FCreateDXGIFactory2

typedef HRESULT(WINAPI * FCreateDXGIFactory2) (UINT, REFIID, void **)

Function Documentation

◆ D3D11_ShouldBreakOnD3DDebugErrors()

bool D3D11_ShouldBreakOnD3DDebugErrors ( )

◆ D3D11_ShouldBreakOnD3DDebugWarnings()

bool D3D11_ShouldBreakOnD3DDebugWarnings ( )

◆ D3D11_ShouldLogD3DDebugWarnings()

bool D3D11_ShouldLogD3DDebugWarnings ( )

◆ D3D11RHI_ShouldAllowAsyncResourceCreation()

bool D3D11RHI_ShouldAllowAsyncResourceCreation ( )

◆ FD3DDumpLiveObjectsCommand()

FAutoConsoleCommand FD3DDumpLiveObjectsCommand ( TEXT("r.d3d11.dumpliveobjects")  ,
TEXT("When using -d3ddebug will dump a list of live d3d objects. Mostly for finding leaks." ,
FConsoleCommandDelegate::CreateStatic &  FD3D11DumpLiveObjects 
)

◆ GetFeatureLevelString()

const TCHAR * GetFeatureLevelString ( D3D_FEATURE_LEVEL  FeatureLevel)

◆ HDRSettingChangedSinkCallback()

void HDRSettingChangedSinkCallback ( )
extern

◆ IsDeviceUMA()

bool IsDeviceUMA ( ID3D11Device device)
inline

Variable Documentation

◆ DisplayChromacityList

const DisplayChromacities DisplayChromacityList[]
Initial value:
=
{
{ 0.64000f, 0.33000f, 0.30000f, 0.60000f, 0.15000f, 0.06000f, 0.31270f, 0.32900f },
{ 0.68000f, 0.32000f, 0.26500f, 0.69000f, 0.15000f, 0.06000f, 0.31270f, 0.32900f },
{ 0.70800f, 0.29200f, 0.17000f, 0.79700f, 0.13100f, 0.04600f, 0.31270f, 0.32900f },
{ 0.73470f, 0.26530f, 0.00000f, 1.00000f, 0.00010f,-0.07700f, 0.32168f, 0.33767f },
{ 0.71300f, 0.29300f, 0.16500f, 0.83000f, 0.12800f, 0.04400f, 0.32168f, 0.33767f },
}

◆ GD3D11DebugCvar

TAutoConsoleVariable< int32 > GD3D11DebugCvar(TEXT("r.D3D11.EnableD3DDebug"), 0, TEXT("4 to enable CONTINUING on errors (-d3dcontinueonerrors)\n"), ECVF_RenderThreadSafe|ECVF_ReadOnly) ( TEXT("r.D3D11.EnableD3DDebug")  ,
,
TEXT("4 to enable CONTINUING on errors (-d3dcontinueonerrors)\n" ,
ECVF_RenderThreadSafe ECVF_ReadOnly 
)

◆ GD3D11RHI

FD3D11DynamicRHI* GD3D11RHI = nullptr