UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FD3D12DynamicRHIModule Class Reference

#include <D3D12RHIPrivate.h>

+ Inheritance diagram for FD3D12DynamicRHIModule:

Public Member Functions

 FD3D12DynamicRHIModule ()
 
 ~FD3D12DynamicRHIModule ()
 
virtual bool SupportsDynamicReloading () override
 
virtual void StartupModule () override
 
virtual void ShutdownModule () override
 
virtual bool IsSupported () override
 
virtual bool IsSupported (ERHIFeatureLevel::Type RequestedFeatureLevel) override
 
virtual FDynamicRHICreateRHI (ERHIFeatureLevel::Type RequestedFeatureLevel=ERHIFeatureLevel::Num) override
 
- Public Member Functions inherited from IModuleInterface
virtual ~IModuleInterface ()
 
virtual void PreUnloadCallback ()
 
virtual void PostLoadCallback ()
 
virtual bool SupportsAutomaticShutdown ()
 
virtual bool IsGameModule () const
 

Detailed Description

Implements the D3D12RHI module as a dynamic RHI providing module.

Constructor & Destructor Documentation

◆ FD3D12DynamicRHIModule()

FD3D12DynamicRHIModule::FD3D12DynamicRHIModule ( )
inline

◆ ~FD3D12DynamicRHIModule()

FD3D12DynamicRHIModule::~FD3D12DynamicRHIModule ( )
inline

Member Function Documentation

◆ CreateRHI()

FDynamicRHI * FD3D12DynamicRHIModule::CreateRHI ( ERHIFeatureLevel::Type  RequestedFeatureLevel = ERHIFeatureLevel::Num)
overridevirtual

Creates a new instance of the dynamic RHI implemented by the module.

Implements IDynamicRHIModule.

◆ IsSupported() [1/2]

virtual bool FD3D12DynamicRHIModule::IsSupported ( )
inlineoverridevirtual

Checks whether the RHI is supported by the current system.

Implements IDynamicRHIModule.

◆ IsSupported() [2/2]

bool FD3D12DynamicRHIModule::IsSupported ( ERHIFeatureLevel::Type  RequestedFeatureLevel)
overridevirtual

Reimplemented from IDynamicRHIModule.

◆ ShutdownModule()

void FD3D12DynamicRHIModule::ShutdownModule ( )
overridevirtual

Called before the module is unloaded, right before the module object is destroyed. During normal shutdown, this is called in reverse order that modules finish StartupModule(). This means that, as long as a module references dependent modules in it's StartupModule(), it can safely reference those dependencies in ShutdownModule() as well.

Reimplemented from IModuleInterface.

◆ StartupModule()

void FD3D12DynamicRHIModule::StartupModule ( )
overridevirtual

Called right after the module DLL has been loaded and the module object has been created Load dependent modules here, and they will be guaranteed to be available during ShutdownModule. ie:

FModuleManager::Get().LoadModuleChecked(TEXT("HTTP"));

Reimplemented from IModuleInterface.

◆ SupportsDynamicReloading()

virtual bool FD3D12DynamicRHIModule::SupportsDynamicReloading ( )
inlineoverridevirtual

Override this to set whether your module is allowed to be unloaded on the fly

Returns
Whether the module supports shutdown separate from the rest of the engine.

Reimplemented from IModuleInterface.


The documentation for this class was generated from the following files: