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

Namespaces

namespace  D3D12RHI
 

Functions

 IMPLEMENT_MODULE (FD3D12DynamicRHIModule, D3D12RHI)
 
bool D3D12RHI_ShouldCreateWithWarp ()
 
bool D3D12RHI_AllowSoftwareFallback ()
 
bool D3D12RHI_ShouldAllowAsyncResourceCreation ()
 
bool D3D12RHI_ShouldForceCompatibility ()
 
bool ShouldCheckBindlessSupport (EShaderPlatform ShaderPlatform)
 
ERHIFeatureLevel::Type FindMaxRHIFeatureLevel (D3D_FEATURE_LEVEL InMaxFeatureLevel, D3D_SHADER_MODEL InMaxShaderModel, D3D12_RESOURCE_BINDING_TIER ResourceBindingTier, bool bSupportsWaveOps, bool bSupportsAtomic64)
 
void GetResourceTiers (ID3D12Device *Device, D3D12_RESOURCE_BINDING_TIER &OutResourceBindingTier, D3D12_RESOURCE_HEAP_TIER &OutResourceHeapTier)
 
bool GetSupportsWaveOps (ID3D12Device *Device)
 
bool GetSupportsAtomic64 (IDXGIAdapter *Adapter, ID3D12Device *Device)
 
bool IsDeviceUMA (ID3D12Device *device)
 
ERHIFeatureLevel::Type GetAdapterMaxFeatureLevel (const FD3D12Adapter *InAdapter)
 
const TCHARD3D12RHI::GetFeatureLevelString (D3D_FEATURE_LEVEL FeatureLevel)
 

Variables

FD3D12DynamicRHIGD3D12RHI = nullptr
 
int32 GMinimumWindowsBuildVersionForRayTracing = 0
 
int32 GMinimumDriverVersionForRayTracingNVIDIA = 0
 
int32 GMinimumDriverVersionForRayTracingAMD = 0
 
int32 GDevDisableD3DRuntimeBackgroundThreads = 0
 

Function Documentation

◆ D3D12RHI_AllowSoftwareFallback()

bool D3D12RHI_AllowSoftwareFallback ( )
extern

◆ D3D12RHI_ShouldAllowAsyncResourceCreation()

bool D3D12RHI_ShouldAllowAsyncResourceCreation ( )
extern

◆ D3D12RHI_ShouldCreateWithWarp()

bool D3D12RHI_ShouldCreateWithWarp ( )
extern

◆ D3D12RHI_ShouldForceCompatibility()

bool D3D12RHI_ShouldForceCompatibility ( )
extern

◆ FindMaxRHIFeatureLevel()

ERHIFeatureLevel::Type FindMaxRHIFeatureLevel ( D3D_FEATURE_LEVEL  InMaxFeatureLevel,
D3D_SHADER_MODEL  InMaxShaderModel,
D3D12_RESOURCE_BINDING_TIER  ResourceBindingTier,
bool  bSupportsWaveOps,
bool  bSupportsAtomic64 
)
inline

◆ GetAdapterMaxFeatureLevel()

ERHIFeatureLevel::Type GetAdapterMaxFeatureLevel ( const FD3D12Adapter InAdapter)
inline

◆ GetResourceTiers()

void GetResourceTiers ( ID3D12Device Device,
D3D12_RESOURCE_BINDING_TIER OutResourceBindingTier,
D3D12_RESOURCE_HEAP_TIER OutResourceHeapTier 
)
inline

◆ GetSupportsAtomic64()

bool GetSupportsAtomic64 ( IDXGIAdapter Adapter,
ID3D12Device Device 
)
inline

◆ GetSupportsWaveOps()

bool GetSupportsWaveOps ( ID3D12Device Device)
inline

◆ IMPLEMENT_MODULE()

IMPLEMENT_MODULE ( FD3D12DynamicRHIModule  ,
D3D12RHI   
)

◆ IsDeviceUMA()

bool IsDeviceUMA ( ID3D12Device device)
inline

◆ ShouldCheckBindlessSupport()

bool ShouldCheckBindlessSupport ( EShaderPlatform  ShaderPlatform)
inline

Variable Documentation

◆ GD3D12RHI

FD3D12DynamicRHI* GD3D12RHI = nullptr

◆ GDevDisableD3DRuntimeBackgroundThreads

int32 GDevDisableD3DRuntimeBackgroundThreads = 0

◆ GMinimumDriverVersionForRayTracingAMD

int32 GMinimumDriverVersionForRayTracingAMD = 0

◆ GMinimumDriverVersionForRayTracingNVIDIA

int32 GMinimumDriverVersionForRayTracingNVIDIA = 0

◆ GMinimumWindowsBuildVersionForRayTracing

int32 GMinimumWindowsBuildVersionForRayTracing = 0