Navigation
API > API/Developer > API/Developer/DerivedDataCache > API/Developer/DerivedDataCache/FDerivedDataCacheInterface > API/Developer/DerivedDataCache/FDerivedDataCacheInterface/GetSynchronous
References
| Module | DerivedDataCache |
| Header | /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataCacheInterface.h |
| Include | #include "DerivedDataCacheInterface.h" |
bool GetSynchronous
(
const TCHAR * CacheKey,
TArray < uint8 > & OutData,
FStringView DebugContext
)
Remarks
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. true if the data was retrieved from the cache.
Parameters
| Name | Description |
|---|---|
| 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. |