Navigation
Unreal Engine C++ API Reference > Developer > DerivedDataCache > FCacheRecordBuilder > AddValue
References
Module | DerivedDataCache |
Header | /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataCacheRecord.h |
Include | #include "DerivedDataCacheRecord.h" |
Source | /Engine/Source/Developer/DerivedDataCache/Private/DerivedDataCacheRecord.cpp |
void AddValue ( const [FValueId](API\Developer\DerivedDataCache\FValueId) & Id, const [FSharedBuffer](API\Runtime\Core\Memory\FSharedBuffer) & Buffer, uint64 BlockSize )
Remarks
Add a value to the cache record.
Parameters
Name | Description |
---|---|
Id | An ID for the value that is unique within this cache record. |
Buffer | The value, which is compressed by the builder, and cloned if not owned. |
BlockSize | The power-of-two block size to encode raw data in. 0 is default. |