Navigation
API > API/Developer > API/Developer/DerivedDataCache
A build config context allows cache and build behavior to be modified based on constant inputs.
| Name | FBuildConfigContext |
| Type | class |
| Header File | /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataBuildFunction.h |
| Include Path | #include "DerivedDataBuildFunction.h" |
Syntax
class FBuildConfigContext
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FBuildConfigContext() |
DerivedDataBuildFunction.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddError
(
FStringView Message |
Adds the error to the build output. Must be deterministic and based only on inputs. | DerivedDataBuildFunction.h | |
void AddMessage
(
FStringView Message |
Adds the message to the build output. Must be deterministic and based only on inputs. | DerivedDataBuildFunction.h | |
void AddWarning
(
FStringView Message |
Adds the warning to the build output. Must be deterministic and based only on inputs. | DerivedDataBuildFunction.h | |
FCbObject FindConstant
(
FUtf8StringView Key |
Returns the constant with the matching key, or an object with no fields if not found. | DerivedDataBuildFunction.h | |
EBuildPolicy GetBuildPolicyMask() |
Returns the build policy mask used when executing this build. | DerivedDataBuildFunction.h | |
ECachePolicy GetCachePolicyMask() |
Returns the cache policy mask used when reading or writing this build in the cache. | DerivedDataBuildFunction.h | |
const FSharedString & GetName() |
Returns the name by which to identify this build for logging and profiling. | DerivedDataBuildFunction.h | |
void SetBuildPolicyMask
(
EBuildPolicy Policy |
Overrides the build policy mask used when executing this build. | DerivedDataBuildFunction.h | |
void SetCacheBucket
(
FCacheBucket Bucket |
Overrides the cache bucket used when reading or writing this build in the cache. | DerivedDataBuildFunction.h | |
void SetCachePolicyMask
(
ECachePolicy Policy |
Overrides the cache policy mask used when reading or writing this build in the cache. | DerivedDataBuildFunction.h | |
void SetRequiredMemory
(
uint64 RequiredMemory |
Sets the estimated peak memory required to execute the build, excluding input size. | DerivedDataBuildFunction.h | |
void SetTypeName
(
const FUtf8SharedString& TypeName |
Overrides the name of the type for the build. Defaults to the function name. | DerivedDataBuildFunction.h | |
void SkipDeterministicOutputCheck() |
Skips verification that this function has deterministic output. | DerivedDataBuildFunction.h |