Navigation
Unreal Engine C++ API Reference > Developer > DerivedDataCache
Inheritance Hierarchy
- FBuildAction
References
Module | DerivedDataCache |
Header | /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataBuildAction.h |
Include | #include "DerivedDataBuildAction.h" |
Syntax
class FBuildAction
Remarks
A build action is an immutable reference to a build function and its inputs.
The purpose of an action is to capture everything required to execute a derived data build for a fixed version of the build function and its constants and inputs.
The key for the action uniquely identifies the action and is derived by hashing the serialized compact binary representation of the action.
The keys for constants and inputs are names that are unique within the build action.
Constructors
No constructors are accessible with public or protected access.
Functions
Type | Name | Description |
---|---|---|
const FGuid ... | GetBuildSystemVersion () | Returns the version of the build system required to build this action. |
const FUtf8S... | GetFunction () | Returns the name of the build function with which to build this action. |
const FGuid ... | GetFunctionVersion () | Returns the version of the build function with which to build this action. |
const FBuild... | GetKey () | Returns the key that uniquely identifies this build action. |
const FShare... | GetName () | Returns the name by which to identify this action for logging and profiling. |
bool | HasConstants () | Returns whether the action has any constants. |
bool | HasInputs () | Returns whether the action has any inputs. |
void | IterateConstants ( TFunctionRef< void(FUtf8StringView ... ) | Visits every constant in order by key. The key view is valid for the lifetime of the action. |
void | IterateInputs ( TFunctionRef< void(FUtf8StringView ... ) | Visits every input in order by key. The key view is valid for the lifetime of the action. |
FOptionalBui... | Load ( const FSharedString& Name, FCbObject&& Action ) | Load a build action from compact binary. |
void | Save ( FCbWriter& Writer ) | Saves the build action to a compact binary object. Calls BeginObject and EndObject. |