| IBuildFunction
|
Module |
|
Header |
/Engine/Source/Developer/DerivedDataCache/Public/DerivedDataBuildFunction.h |
Include |
#include "DerivedDataBuildFunction.h" |
class IBuildFunction
A build function is referenced by a build definition as the way to build its inputs.
Functions are expected to be pure and maintain no state. Inputs are provided through the build context, and outputs are saved through the build context.
Functions have a version which is used as a proxy for their code. Any code changes that affect the behavior of a function must have a corresponding change in the function version.
Functions must be registered by a build function factory to be available to the build system.
Name | Description | |
---|---|---|
|
~IBuildFunction() |
Name | Description | ||
---|---|---|---|
|
Build ( |
Build the output for the input in the build context. |
|
|
CancelAsyncBuild ( |
Cancel an asynchronous build. |
|
|
Configure ( |
Configure the build based on its constants. |
|
|
GetName() |
Returns the name of the build function, which identifies it in a build definition. |
|
|
GetVersion() |
Returns the version of the build function, which must change when the function changes. |