FDerivedDataCacheInterface::Put

Puts data into the cache.

Unreal Engine C++ API Reference > Developer > DerivedDataCache > FDerivedDataCacheInterface

References

   
Module DerivedDataCache
Header /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataCacheInterface.h
Include #include "DerivedDataCacheInterface.h"
void Put
(
    const TCHAR * CacheKey,
    TArrayView64< const uint8 > Data,
    FStringView DataContext,
    bool bPutEvenIfExists
)

Remarks

Puts data into the cache. This is fire-and-forget and typically asynchronous.

Prefer to use a FDerivedDataPluginInterface instead of generating the key directly.

Parameters

Name 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.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library