Navigation
Unreal Engine C++ API Reference > Developer > DerivedDataCache
References
Module | DerivedDataCache |
Header | /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataCacheRecord.h |
Include | #include "DerivedDataCacheRecord.h" |
Syntax
class FCacheRecordBuilder
Remarks
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.
Constructors
Type | Name | Description |
---|---|---|
FCacheRecordBuilder ( const FCacheKey& Key ) | Create a cache record builder from a cache key. |
Functions
Type | Name | Description |
---|---|---|
void | AddValue ( const FValueWithId& Value ) | Add a value to the cache record.The ID for the value must be unique within this cache record. |
void | AddValue ( const FValueId& Id, const FValue& Value ) | Add a value to the cache record. |
void | AddValue ( const FValueId& Id, const FCompositeBuffer& Buffer, uint64 BlockSize ) | Add a value to the cache record. |
void | AddValue ( const FValueId& Id, const FSharedBuffer& Buffer, uint64 BlockSize ) | Add a value to the cache record. |
FCacheRecord | Build () | Build a cache record, which makes this builder subsequently unusable. |
void | BuildAsync ( IRequestOwner& Owner, FOnCacheRecordComplete&& OnComplet... ) | Build a cache record asynchronously, which makes this builder subsequently unusable. |
void | SetMeta ( FCbObject&& Meta ) | Set the metadata for the cache record. |