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