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