UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FVulkanThread Class Referencefinal
+ Inheritance diagram for FVulkanThread:

Public Member Functions

 FVulkanThread (TCHAR const *InName, EThreadPriority InPriority, FVulkanDynamicRHI *InRHI, FQueueFunc InFunc)
 
virtual ~FVulkanThread ()
 
void Kick () const
 
void Join () const
 
uint32 GetThreadID () const
 

Protected Member Functions

virtual uint32 Run () override
 

Protected Attributes

FVulkanDynamicRHIRHI
 
std::atomic< boolbExit = false
 
FEventEvent
 
FQueueFunc Func
 
FRunnableThreadThread = nullptr
 

Constructor & Destructor Documentation

◆ FVulkanThread()

FVulkanThread::FVulkanThread ( TCHAR const *  InName,
EThreadPriority  InPriority,
FVulkanDynamicRHI InRHI,
FQueueFunc  InFunc 
)
inline

◆ ~FVulkanThread()

virtual FVulkanThread::~FVulkanThread ( )
inlinevirtual

Member Function Documentation

◆ GetThreadID()

uint32 FVulkanThread::GetThreadID ( ) const
inline

◆ Join()

void FVulkanThread::Join ( ) const
inline

◆ Kick()

void FVulkanThread::Kick ( ) const
inline

◆ Run()

virtual uint32 FVulkanThread::Run ( )
inlineoverrideprotectedvirtual

Runs the runnable object.

This is where all per object thread work is done. This is only called if the initialization was successful.

Returns
The exit code of the runnable object
See also
Init, Stop, Exit

Implements FRunnable.

Member Data Documentation

◆ bExit

std::atomic<bool> FVulkanThread::bExit = false
protected

◆ Event

FEvent* FVulkanThread::Event
protected

◆ Func

FQueueFunc FVulkanThread::Func
protected

◆ RHI

FVulkanDynamicRHI* FVulkanThread::RHI
protected

◆ Thread

FRunnableThread* FVulkanThread::Thread = nullptr
protected

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