FBuildConfigContext

A build config context allows cache and build behavior to be modified based on constant inputs.

Unreal Engine C++ API Reference > Developer > DerivedDataCache

References

   
Module DerivedDataCache
Header /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataBuildFunction.h
Include #include "DerivedDataBuildFunction.h"

Syntax

class FBuildConfigContext  

Remarks

A build config context allows cache and build behavior to be modified based on constant inputs.

Destructors

Type Name Description
  ~FBuildConfigContext ()  

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 AddWarning ( FStringView Message ) Adds the warning to the build output. Must be deterministic and based only on inputs.
FCbObject FindConstant ( FUtf8StringView Key ) Returns the constant with the matching key, or an object with no fields if not found.
EBuildPolicy GetBuildPolicyMask () Returns the build policy mask used when executing this build.
ECachePolicy GetCachePolicyMask () Returns the cache policy mask used when reading or writing this build in the cache.
const FShare... GetName () Returns the name by which to identify this build for logging and profiling.
void SetBuildPolicyMask ( EBuildPolicy Policy ) Overrides the build policy mask used when executing this build.
void SetCacheBucket ( FCacheBucket Bucket ) Overrides the cache bucket used when reading or writing this build in the cache.
void SetCachePolicyMask ( ECachePolicy Policy ) Overrides the cache policy mask used when reading or writing this build in the cache.
void SetRequiredMemory ( uint64 RequiredMemory ) Sets the estimated peak memory required to execute the build, excluding input size.
void SetTypeName ( const FUtf8SharedString& TypeName ) Overrides the name of the type for the build. Defaults to the function name.
void SkipDeterministicOutputCheck () Skips verification that this function has deterministic output.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library