engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
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. 更多...

#include <World.h>

Public 成员函数

 DECLARE_MULTICAST_DELEGATE (FOnGCStreamedOutLevelsEvent)
 Called when streamed out levels are going to be garbage collected

 

静态 Public 成员函数

static void AddGarbageCollectorCallback ()
 Register with the garbage collector to receive callbacks pre and post garbage collection
 
static void CancelUnloadRequest (ULevel *InLevel)
 Cancel any pending unload requests for passed in Level.
 
static int32 GetNumLevelsPendingPurge ()
 
static void PrepareStreamedOutLevelsForGC ()
 Prepares levels that are marked for unload for the GC call by marking their actors and components as pending kill.
 
static void RequestUnload (ULevel *InLevel)
 Request to be unloaded. 更多...
 
static void VerifyLevelsGotRemovedByGC ()
 Verify that the level packages are no longer around.
 

详细描述

Helper structure encapsulating functionality used to defer marking actors and their components as pending kill till right before garbage collection by registering a callback.

成员函数说明

◆ GetNumLevelsPendingPurge()

static int32 FLevelStreamingGCHelper::GetNumLevelsPendingPurge ( )
static
返回
The number of levels pending a purge by the garbage collector

◆ RequestUnload()

static void FLevelStreamingGCHelper::RequestUnload ( ULevel *  InLevel)
static

Request to be unloaded.

参数
InLevelLevel that should be unloaded

该结构体的文档由以下文件生成: