Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectAllocator.h |
Include |
#include "UObject/UObjectAllocator.h" |
Source |
/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectAllocator.cpp |
UObjectBase * AllocateUObject
(
int32 Size,
int32 Alignment,
bool bAllowPermanent
)
Allocates a UObjectBase from the free store or the permanent object pool
newly allocated UObjectBase (not really a UObjectBase yet, no constructor like thing has been called).
Parameter |
Description |
---|---|
Size |
size of uobject to allocate |
Alignment |
alignment of uobject to allocate |
bAllowPermanent |
if true, allow allocation in the permanent object pool, if it fits |