623 B
623 B
MemoryManager::GetSystemAllocator
获取内部系统分配器。
IAllocator* GetSystemAllocator();
行为说明
当前实现直接返回成员指针 m_systemAllocator,不会增加引用计数,也不会转移所有权。
返回值
IAllocator*- 系统分配器指针;未初始化或已关闭时为nullptr。
生命周期注意事项
- 这是一个非拥有指针。
- 只有在 Initialize 之后、Shutdown 之前使用才安全。