UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TAsyncComponentDataComputeQueue< DataType > Struct Template Reference

#include <DynamicMeshComponent.h>

Classes

struct  FComputeJob
 

Public Member Functions

 ~TAsyncComponentDataComputeQueue ()
 
void LaunchJob (const TCHAR *DebugName, TFunction< TUniquePtr< DataType >(FProgressCancel &Progress)> JobWork)
 
void WaitForAllJobsDuringShutdown ()
 

Public Attributes

std::atomic< int > JobCounter = 0
 
bool bIsShuttingDown = false
 
TArray< TUniquePtr< FComputeJob > > PendingJobs
 
FCriticalSection PendingJobsLock
 
TFunction< void(TUniquePtr< DataType > NewData)> OnComputeCompleted
 

Constructor & Destructor Documentation

◆ ~TAsyncComponentDataComputeQueue()

template<typename DataType >
TAsyncComponentDataComputeQueue< DataType >::~TAsyncComponentDataComputeQueue ( )
inline

Member Function Documentation

◆ LaunchJob()

template<typename DataType >
void TAsyncComponentDataComputeQueue< DataType >::LaunchJob ( const TCHAR DebugName,
TFunction< TUniquePtr< DataType >(FProgressCancel &Progress)>  JobWork 
)
inline

◆ WaitForAllJobsDuringShutdown()

template<typename DataType >
void TAsyncComponentDataComputeQueue< DataType >::WaitForAllJobsDuringShutdown ( )
inline

Member Data Documentation

◆ bIsShuttingDown

template<typename DataType >
bool TAsyncComponentDataComputeQueue< DataType >::bIsShuttingDown = false

◆ JobCounter

template<typename DataType >
std::atomic<int> TAsyncComponentDataComputeQueue< DataType >::JobCounter = 0

◆ OnComputeCompleted

template<typename DataType >
TFunction<void(TUniquePtr<DataType> NewData)> TAsyncComponentDataComputeQueue< DataType >::OnComputeCompleted

◆ PendingJobs

template<typename DataType >
TArray<TUniquePtr<FComputeJob> > TAsyncComponentDataComputeQueue< DataType >::PendingJobs

◆ PendingJobsLock

template<typename DataType >
FCriticalSection TAsyncComponentDataComputeQueue< DataType >::PendingJobsLock

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