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