Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UCookOnTheFlyServer
Description
Frees all the memory used to call BeginCacheForCookedPlatformData on all the objects in PackageData. If the calls were incomplete because the PackageData's save was cancelled, handles canceling them and leaving any required CancelManagers in PendingCookedPlatformDatas
| Name | ReleaseCookedPlatformData |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/CookOnTheSide/CookOnTheFlyServer.h |
| Include Path | #include "CookOnTheSide/CookOnTheFlyServer.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/CookOnTheFlyServer.cpp |
void ReleaseCookedPlatformData
(
UE::Cook::FPackageData & PackageData,
UE::Cook::EStateChangeReason ReleaseSaveReason,
UE::Cook::EPackageState NewState
)
Parameters
| Name | Remarks |
|---|---|
| bCompletedSave | If false, data that can not be efficiently recomputed will be preserved to try the save again. If true, all data will be wiped. |
| ReleaseSaveReason | Why the save data is being released, allows specifying how much to tear down |