Navigation
API > API/Developer > API/Developer/DerivedDataCache
References
| Module | DerivedDataCache |
| Header | /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataBuildFunction.h |
| Include | #include "DerivedDataBuildFunction.h" |
Syntax
class FBuildContext
Remarks
A build context provides the inputs for a build function and saves its outputs.
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 | AddMeta
(
FUtf8StringView Key, |
Adds metadata to the build output. | |
| void | |||
| void | AddValue
(
const FValueId& Id, |
||
| void | Adds a value to the build output. Must have a non-null buffer and a unique ID. | ||
| void | AddValue
(
const FValueId& Id, |
||
| void | AddValue
(
const FValueId& Id, |
||
| void | AddWarning
(
FStringView Message |
Adds the warning to the build output. Must be deterministic and based only on inputs. | |
| void | Make this an asynchronous build by making the caller responsible for completing the build. | ||
| void | Mark the end of an asynchronous build. | ||
| FCbObject | FindConstant
(
FUtf8StringView Key |
Returns the constant with the matching key, or an object with no fields if not found. | |
| FSharedBuffer | FindInput
(
FUtf8StringView Key |
Returns the input with the matching key, or a null buffer if not found. | |
| const FSharedString & | GetName () |
Returns the name by which to identify this build for logging and profiling. | |
| uint64 | Returns estimate of memory required for this operation. | ||
| void | SetCachePolicyMask
(
ECachePolicy Policy |
Overrides the cache policy mask used when writing this build in the cache. |