Navigation
API > API/Developer > API/Developer/DerivedDataCache
A cache record builder is used to construct a cache record.
Create using a key that uniquely corresponds to the values for the cache record. The metadata may vary between records with the same key.
| Name | FCacheRecordBuilder |
| Type | class |
| Header File | /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataCacheRecord.h |
| Include Path | #include "DerivedDataCacheRecord.h" |
Syntax
class FCacheRecordBuilder
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCacheRecordBuilder
(
const FCacheKey& Key |
Create a cache record builder from a cache key. | DerivedDataCacheRecord.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| RecordBuilder | TUniquePtr< Private::ICacheRecordBuilderInternal > | DerivedDataCacheRecord.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddValue
(
const FValueWithId& Value |
Add a value to the cache record.The ID for the value must be unique within this cache record. | DerivedDataCacheRecord.h | |
| Add a value to the cache record. | DerivedDataCacheRecord.h | ||
| Add a value to the cache record. | DerivedDataCacheRecord.h | ||
| DerivedDataCacheRecord.h | |||
| Build a cache record, which makes this builder subsequently unusable. | DerivedDataCacheRecord.h | ||
void BuildAsync
(
IRequestOwner& Owner, |
Build a cache record asynchronously, which makes this builder subsequently unusable. | DerivedDataCacheRecord.h | |
void SetMeta
(
FCbObject&& Meta |
Set the metadata for the cache record. | DerivedDataCacheRecord.h |