FDerivedDataCacheInterface::GetSynchronous

Synchronously checks the cache and if the item is present, it returns the cached results, otherwise it returns false.

Windows
MacOS
Linux

References

Module

DerivedDataCache

Header

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

Include

#include "DerivedDataCacheInterface.h"

Syntax

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.

Returns

true if the data was retrieved from the cache.

Parameters

Parameter

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.

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