Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/ICookPackageSplitter > API/Editor/UnrealEd/ICookPackageSplitter/FPopulateContext
Description
Add the given FCookDependency to the build dependencies for the TargetGeneratedPackage. Incremental cooks will invalidate the package and recook it if the CookDependency changes.
This callback is only valid during Populate and PreSave functions. It is ignored during PostSave functions. This callback is only valid in calls on generated packages. It is ignored during calls to the generator.
| Name | ReportSaveDependency |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/CookPackageSplitter.h |
| Include Path | #include "CookPackageSplitter.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Cooker/CookGenerationHelper.cpp |
void ReportSaveDependency
(
UE::Cook::FCookDependency CookDependency
)