Module |
|
Header |
/Engine/Source/Developer/DerivedDataCache/Public/DerivedDataCacheInterface.h |
Include |
#include "DerivedDataCacheInterface.h" |
void Put
(
const TCHAR * CacheKey,
TArrayView< const uint8 > Data,
FStringView DataContext,
bool bPutEvenIfExists
)
Puts data into the cache. This is fire-and-forget and typically asynchronous.
Prefer to use a FDerivedDataPluginInterface instead of generating the key directly.
Parameter |
Description |
---|---|
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. |