Navigation
API > API/Runtime > API/Runtime/RuntimeAssetCache > API/Runtime/RuntimeAssetCache/FRuntimeAssetCacheInterface
Description
Synchronously gets value from cache. If value is not found, builds entry using CacheBuilder and updates cache.
| Name | GetSynchronous |
| Type | function |
| Header File | /Engine/Source/Runtime/RuntimeAssetCache/Public/RuntimeAssetCacheInterface.h |
| Include Path | #include "RuntimeAssetCacheInterface.h" |
FVoidPtrParam GetSynchronous
(
IRuntimeAssetCacheBuilder * CacheBuilder
)
Pointer to retrieved cache entry, nullptr on fail. Fail occurs only when
- there's no entry in cache and CacheBuilder is nullptr or
- CacheBuilder returned nullptr
Parameters
| Name | Remarks |
|---|---|
| CacheBuilder | Builder to produce cache key and in the event of a miss. |