![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ApplePlatformMemory.h>
Inheritance diagram for FApplePlatformObject:Instance Methods | |
| (void) | - dealloc |
Class Methods | |
| (nullable OSQueueHead *) | + classAllocator |
| (id) | + allocClass: |
NSObject subclass that can be used to override the allocation functions to go through UE4's memory allocator. This ensures that memory allocated by custom Objective-C types can be tracked by UE4's tools and that we benefit from the memory allocator's efficiencies.
| + (id) allocClass: | (Class) | NewClass |
Sub-classes should override allocWithZone & alloc to call allocClass
| + (nullable OSQueueHead *) classAllocator |
Sub-classes should override to provide the OSQueueHead* necessary to allocate from - handled by the macro
| - (void) dealloc |
Override the core NSObject deallocation function to correctly destruct
Implemented in FMetalDeallocHandler.