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

#include <RuntimeAssetCacheAsyncWorker.h>

+ Inheritance diagram for FRuntimeAssetCacheAsyncWorker:

Public Member Functions

 FRuntimeAssetCacheAsyncWorker (IRuntimeAssetCacheBuilder *InCacheBuilder, TMap< FName, FRuntimeAssetCacheBucket * > *InBuckets, int32 InHandle, const FOnRuntimeAssetCacheAsyncComplete &InCompletionCallback)
 
void DoWork ()
 
TStatId GetStatId () const
 
voidGetData ()
 
int64 GetDataSize ()
 
FVoidPtrParam GetDataAndSize ()
 
void FireCompletionDelegate ()
 
- Public Member Functions inherited from FNonAbandonableTask
bool CanAbandon ()
 
void Abandon ()
 

Detailed Description

Worker to retrieve entry from cache or build it in case of cache miss.

Constructor & Destructor Documentation

◆ FRuntimeAssetCacheAsyncWorker()

FRuntimeAssetCacheAsyncWorker::FRuntimeAssetCacheAsyncWorker ( IRuntimeAssetCacheBuilder InCacheBuilder,
TMap< FName, FRuntimeAssetCacheBucket * > *  InBuckets,
int32  InHandle,
const FOnRuntimeAssetCacheAsyncComplete InCompletionCallback 
)

Constructor

Member Function Documentation

◆ DoWork()

void FRuntimeAssetCacheAsyncWorker::DoWork ( )

Async task interface implementation.

Make sure completed work counter works properly regardless of where function is exited.

◆ FireCompletionDelegate()

void FRuntimeAssetCacheAsyncWorker::FireCompletionDelegate ( )

Fires completion delegate only if it wasn't fired earlier.

◆ GetData()

void * FRuntimeAssetCacheAsyncWorker::GetData ( )
inline

End of async task interface implementation. Gets serialized cache data.

◆ GetDataAndSize()

FVoidPtrParam FRuntimeAssetCacheAsyncWorker::GetDataAndSize ( )
inline

Gets serialized cache data and data size.

◆ GetDataSize()

int64 FRuntimeAssetCacheAsyncWorker::GetDataSize ( )
inline

Gets serialized cache data size in bytes.

◆ GetStatId()

TStatId FRuntimeAssetCacheAsyncWorker::GetStatId ( ) const

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