55 static void PrepareStreamedOutLevelsForGC();
58 static void VerifyLevelsGotRemovedByGC();
61 static void OnPreGarbageCollect();
67 static void PrepareStreamedOutLevelForGC(
ULevel* Level);
76 static bool bEnabledForCommandlet;
79 static bool bIsPrepareStreamedOutLevelForGCDelayedToWorldTickEnd;
82 static int32 NumberOfPreparedStreamedOutLevelsForGC;
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
ELevelTick
Definition EngineBaseTypes.h:70
Definition LevelStreamingGCHelper.h:16
static ENGINE_API void EnableForCommandlet()
Definition LevelStreamingGCHelper.cpp:38
static ENGINE_API int32 GetNumLevelsPendingPurge()
Definition LevelStreamingGCHelper.cpp:256
static ENGINE_API FOnGCStreamedOutLevelsEvent OnGCStreamedOutLevels
Definition LevelStreamingGCHelper.h:19
static ENGINE_API void TrashPackage(UPackage *InPackage)
Definition LevelStreamingGCHelper.cpp:261
static ENGINE_API void CancelUnloadRequest(ULevel *InLevel)
Definition LevelStreamingGCHelper.cpp:86
static ENGINE_API void RequestUnload(ULevel *InLevel)
Definition LevelStreamingGCHelper.cpp:44
static ENGINE_API void AddGarbageCollectorCallback()
Definition LevelStreamingGCHelper.cpp:25
DECLARE_MULTICAST_DELEGATE(FOnGCStreamedOutLevelsEvent)