FUObjectArray::AllocateObjectPool

Allocates and initializes the permanent object pool

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectArray.h

Include

#include "UObject/UObjectArray.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectArray.cpp

Syntax

void AllocateObjectPool
(
    int32 MaxUObjects,
    int32 MaxObjectsNotConsideredByGC,
    bool bPreAllocateObjectArray
)

Remarks

Allocates and initializes the permanent object pool

Parameters

Parameter

Description

MaxUObjects

maximum number of UObjects that can ever exist in the array

MaxObjectsNotConsideredByGC

number of objects in the permanent object pool

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss