Navigation
Unreal Engine C++ API Reference > Developer > DerivedDataCache
References
Module | DerivedDataCache |
Header | /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataCachePolicy.h |
Include | #include "DerivedDataCachePolicy.h" |
Syntax
class FCacheRecordPolicyBuilder
Remarks
A cache record policy builder is used to construct a cache record policy.
Constructors
Type | Name | Description |
---|---|---|
FCacheRecordPolicyBuilder () | Construct a policy builder that uses the default policy as its base policy. | |
FCacheRecordPolicyBuilder ( ECachePolicy Policy ) | Construct a policy builder that uses the provided policy for the record and values with no override. |
Functions
Type | Name | Description |
---|---|---|
void | AddValuePolicy ( const FCacheValuePolicy& Value ) | Adds a cache policy override for a value. Must contain only flags in FCacheRecordValue::PolicyMask. |
void | AddValuePolicy ( const FValueId& Id, ECachePolicy Policy ) | |
FCacheRecord... | Build () | Build a cache record policy, which makes this builder subsequently unusable. |