Navigation
API > API/Runtime > API/Runtime/CoreUObject
| Name | FUObjectAllocator |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectAllocator.h |
| Include Path | #include "UObject/UObjectAllocator.h" |
Syntax
class FUObjectAllocator
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AllocatePermanentObjectPool
(
int32 InPermanentObjectPoolSize |
Allocates and initializes the permanent object pool | UObject/UObjectAllocator.h | |
UObjectBase * AllocateUObject
(
int32 Size, |
Allocates a UObjectBase from the free store or the permanent object pool | UObject/UObjectAllocator.h | |
void BootMessage() |
Prints a debugf message to allow tuning | UObject/UObjectAllocator.h | |
void DisablePersistentAllocator() |
Disables allocation of objects from the persistend allocator Needed by the Editor to be able to clean up all objects | UObject/UObjectAllocator.h | |
void FreeUObject
(
UObjectBase* Object |
Returns a UObjectBase to the free store, unless it is in the permanent object pool | UObject/UObjectAllocator.h |