Navigation
API > API/Developer > API/Developer/DerivedDataCache > API/Developer/DerivedDataCache/FDerivedDataCacheInterface
Description
Puts data into the cache. This is fire-and-forget and typically asynchronous.
Prefer to use a FDerivedDataPluginInterface instead of generating the key directly.
| Name | Put |
| Type | function |
| Header File | /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataCacheInterface.h |
| Include Path | #include "DerivedDataCacheInterface.h" |
void Put
(
const TCHAR * CacheKey,
TArrayView64< const uint8 > Data,
FStringView DataContext,
bool bPutEvenIfExists
)
Parameters
| Name | Remarks |
|---|---|
| CacheKey | Key to identify the data |
| Data | Data to put in the cache under this key |
| DataContext | A string used to describe the data being generated. Typically the path to the object that it is generated from is sufficient. |