FDerivedDataCacheInterface::Put

Puts data into the cache.

Windows
MacOS
Linux

References

Module

DerivedDataCache

Header

/Engine/Source/Developer/DerivedDataCache/Public/DerivedDataCacheInterface.h

Include

#include "DerivedDataCacheInterface.h"

Syntax

void Put
(
    const TCHAR * CacheKey,
    TArrayView< 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

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss