![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#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 |
| void * | GetData () |
| int64 | GetDataSize () |
| FVoidPtrParam | GetDataAndSize () |
| void | FireCompletionDelegate () |
Public Member Functions inherited from FNonAbandonableTask | |
| bool | CanAbandon () |
| void | Abandon () |
Worker to retrieve entry from cache or build it in case of cache miss.
| FRuntimeAssetCacheAsyncWorker::FRuntimeAssetCacheAsyncWorker | ( | IRuntimeAssetCacheBuilder * | InCacheBuilder, |
| TMap< FName, FRuntimeAssetCacheBucket * > * | InBuckets, | ||
| int32 | InHandle, | ||
| const FOnRuntimeAssetCacheAsyncComplete & | InCompletionCallback | ||
| ) |
Constructor
| void FRuntimeAssetCacheAsyncWorker::DoWork | ( | ) |
Async task interface implementation.
Make sure completed work counter works properly regardless of where function is exited.
| void FRuntimeAssetCacheAsyncWorker::FireCompletionDelegate | ( | ) |
Fires completion delegate only if it wasn't fired earlier.
|
inline |
End of async task interface implementation. Gets serialized cache data.
|
inline |
Gets serialized cache data and data size.
|
inline |
Gets serialized cache data size in bytes.
| TStatId FRuntimeAssetCacheAsyncWorker::GetStatId | ( | ) | const |