Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/World.h |
Include |
#include "Engine/World.h" |
struct FLevelStreamingGCHelper
Helper structure encapsulating functionality used to defer marking actors and their components as pending kill till right before garbage collection by registering a callback.
Name | Description | ||
---|---|---|---|
|
AddGarbageCollectorCallback() |
Register with the garbage collector to receive callbacks pre and post garbage collection |
|
|
CancelUnloadRequest ( |
Cancel any pending unload requests for passed in Level. |
|
|
GetNumLevelsPendingPurge() |
||
|
PrepareStreamedOutLevelsForGC() |
Prepares levels that are marked for unload for the GC call by marking their actors and components as pending kill. |
|
|
RequestUnload ( |
Request to be unloaded. |
|
|
VerifyLevelsGotRemovedByGC() |
Verify that the level packages are no longer around. |
Name |
Description |
---|---|
FOnGCStreamedOutLevelsEvent |
Called when streamed out levels are going to be garbage collected |
Name |
Description |
---|---|
LevelPackageNames |
Static array of level packages that have been marked by PrepareStreamedOutLevelsForGC |
LevelsPendingUnload |
Static array of levels that should be unloaded |
OnGCStreamedOutLevels |