Navigation
API > API/Developer > API/Developer/DerivedDataCache
Interface to the build system.
Executing a build typically requires a definition, input resolver, session, and function.
Use IBuild::CreateDefinition() to make a new build definition, or use IBuild::LoadDefinition() to load a build definition that was previously saved. This references the function to execute, and the inputs needed by the function.
Use IBuild::CreateSession() to make a new build session with a build input resolver to resolve input references into the referenced data. Use FBuildSession::Build() to schedule a definition to build, along with any of its transitive build dependencies.
Implement a IBuildFunction, with a unique name and version, to add values to the build context based on constants and inputs in the context. Use TBuildFunctionFactory to add the function to the registry at IBuild::GetFunctionRegistry() to allow the build job to find it.
| Name | IBuild |
| Type | class |
| Header File | /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataBuild.h |
| Include Path | #include "DerivedDataBuild.h" |
Syntax
class IBuild
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IBuild() |
DerivedDataBuild.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FBuildActionBuilder CreateAction
(
const FSharedString& Name, |
Create a build action builder. | DerivedDataBuild.h | |
FBuildDefinitionBuilder CreateDefinition
(
const FSharedString& Name, |
Create a build definition builder. | DerivedDataBuild.h | |
FBuildInputsBuilder CreateInputs
(
const FSharedString& Name |
Create a build inputs builder. | DerivedDataBuild.h | |
FBuildOutputBuilder CreateOutput
(
const FSharedString& Name, |
Create a build output builder. | DerivedDataBuild.h | |
FBuildSession CreateSession
(
const FSharedString& Name, |
Create a build session. | DerivedDataBuild.h | |
IBuildFunctionRegistry & GetFunctionRegistry() |
Returns the build function registry used by the build system. | DerivedDataBuild.h | |
const FGuid & GetVersion () |
Returns the version of the build system. | DerivedDataBuild.h | |
IBuildWorkerRegistry & GetWorkerRegistry() |
Returns the build worker registry used by the build system. | DerivedDataBuild.h |