Navigation
API > API/Developer > API/Developer/DerivedDataCache > API/Developer/DerivedDataCache/FDerivedDataCacheInterface
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetSynchronous
(
FDerivedDataPluginInterface* DataDeriver, |
Synchronously checks the cache and if the item is present, it returns the cached results, otherwise tells the deriver to build the data and then updates the cache | DerivedDataCacheInterface.h | |
bool GetSynchronous
(
const TCHAR* CacheKey, |
Synchronously checks the cache and if the item is present, it returns the cached results, otherwise it returns false. | DerivedDataCacheInterface.h | |
bool GetSynchronous
(
const TCHAR* CacheKey, |
DerivedDataCacheInterface.h |
GetSynchronous(class FDerivedDataPluginInterface , TArray< uint8 > &, bool )
Description
Synchronously checks the cache and if the item is present, it returns the cached results, otherwise tells the deriver to build the data and then updates the cache
| Name | GetSynchronous |
| Type | function |
| Header File | /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataCacheInterface.h |
| Include Path | #include "DerivedDataCacheInterface.h" |
bool GetSynchronous
(
class FDerivedDataPluginInterface * DataDeriver,
TArray< uint8 > & OutData,
bool * bDataWasBuilt
)
true if the data was retrieved from the cache or the deriver built the data sucessfully. false can only occur if the plugin returns false.
Parameters
| Name | Remarks |
|---|---|
| DataDeriver | plugin to produce cache key and in the event of a miss, return the data. |
| bDataWasBuilt | if non-null, set to true if the data returned had to be built instead of retrieved from the DDC. Used for stat tracking. |
GetSynchronous(const TCHAR *, TArray< uint8 > &, FStringView)
Description
Synchronously checks the cache and if the item is present, it returns the cached results, otherwise it returns false.
Prefer to use a FDerivedDataPluginInterface instead of generating the key directly.
| Name | GetSynchronous |
| Type | function |
| Header File | /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataCacheInterface.h |
| Include Path | #include "DerivedDataCacheInterface.h" |
bool GetSynchronous
(
const TCHAR * CacheKey,
TArray< uint8 > & OutData,
FStringView DebugContext
)
true if the data was retrieved from the cache.
Parameters
| Name | Remarks |
|---|---|
| CacheKey | Key to identify the data. |
| DebugContext | A string used to describe the data being generated. Typically the path to the object that it is generated from is sufficient. |
GetSynchronous(const TCHAR *, TArray64< uint8 > &, FStringView)
| Name | GetSynchronous |
| Type | function |
| Header File | /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataCacheInterface.h |
| Include Path | #include "DerivedDataCacheInterface.h" |
bool GetSynchronous
(
const TCHAR * CacheKey,
TArray64< uint8 > & OutData,
FStringView DebugContext
)