FCacheRecordBuilder::AddValue

Add a value to the cache record.

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 [FCompositeBuffer](API\Runtime\Core\Memory\FCompositeBuffer) & 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.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library