Navigation
API > API/Runtime > API/Runtime/RuntimeAssetCache
Interface for runtime asset cache cache builders. This API will be called concurrently.
| Name | IRuntimeAssetCacheBuilder |
| Type | class |
| Header File | /Engine/Source/Runtime/RuntimeAssetCache/Public/RuntimeAssetCachePluginInterface.h |
| Include Path | #include "RuntimeAssetCachePluginInterface.h" |
Syntax
class IRuntimeAssetCacheBuilder
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVoidPtrParam Build() |
Does the work of creating serialized cache entry. | RuntimeAssetCachePluginInterface.h | |
virtual bool CachedAssetVersionIsUpToDate
(
int32 CachedAssetVersion |
Check if the cached asset is up to date. | RuntimeAssetCachePluginInterface.h | |
FString GetAssetUniqueName() |
Returns the name uniquely describing the asset. | RuntimeAssetCachePluginInterface.h | |
int32 GetAssetVersion() |
Gets asset version to rebuild cache if cached asset is too old. | RuntimeAssetCachePluginInterface.h | |
const TCHAR * GetBucketConfigName() |
Get the builder type name. This is used to categorize cached data to buckets. | RuntimeAssetCachePluginInterface.h | |
const TCHAR * GetBuilderName() |
Get the name of cache builder, this is used as part of the cache key. | RuntimeAssetCachePluginInterface.h | |
bool IsBuildThreadSafe() |
Gets whether Build function is threadsafe | RuntimeAssetCachePluginInterface.h | |
virtual void SerializeData
(
FArchive& Ar, |
Serializes data into archive | RuntimeAssetCachePluginInterface.h | |
virtual bool ShouldBuildAsynchronously() |
Gets whether Build function must be called asynchronously. | RuntimeAssetCachePluginInterface.h |