版本

menu_open
Wwise SDK 2022.1.18
AkMemSettings结构体 参考

#include <AkModule.h>

Public 属性

High-level memory allocation hooks. When not NULL, redirect allocations normally forwarded to rpmalloc.
AkMemInitForThread pfInitForThread
 (Optional) Thread-specific allocator initialization hook. 更多...
 
AkMemTermForThread pfTermForThread
 (Optional) Thread-specific allocator termination hook. 更多...
 
AkMemMalloc pfMalloc
 (Optional) Memory allocation hook. 更多...
 
AkMemMalign pfMalign
 (Optional) Memory allocation hook. 更多...
 
AkMemRealloc pfRealloc
 (Optional) Memory allocation hook. 更多...
 
AkMemReallocAligned pfReallocAligned
 (Optional) Memory allocation hook. 更多...
 
AkMemFree pfFree
 (Optional) Memory allocation hook. 更多...
 
AkMemTotalReservedMemorySize pfTotalReservedMemorySize
 (Optional) Memory allocation statistics hook. 更多...
 
AkMemSizeOfMemory pfSizeOfMemory
 (Optional) Memory allocation statistics hook. 更多...
 
Configuration.
AkUInt64 uMemAllocationSizeLimit
 When non-zero, limits the total amount of virtual and device memory allocated by AK::MemoryMgr. 更多...
 
bool bUseDeviceMemAlways
 Use device memory for all allocations (on applicable platforms). 更多...
 
Page allocation hooks, used by rpmalloc. Default to AKPLATFORM::AllocVM et al.
AkMemAllocVM pfAllocVM
 Virtual page allocation hook. 更多...
 
AkMemFreeVM pfFreeVM
 Virtual page allocation hook. 更多...
 
AkMemAllocVM pfAllocDevice
 Device page allocation hook. 更多...
 
AkMemFreeVM pfFreeDevice
 Device page allocation hook. 更多...
 
AkUInt32 uVMPageSize
 Virtual memory page size. Defaults to 0 which means auto-detect. 更多...
 
AkUInt32 uDevicePageSize
 Device memory page size. Defaults to 0 which means auto-detect. 更多...
 
AkUInt32 uMaxThreadLocalHeapAllocSize
 All memory allocations of sizes larger than this value will go to a global heap shared across all threads. Defaults to 0 which means all allocations go to a global heap. 更多...
 
Memory allocation debugging.
AkMemDebugMalloc pfDebugMalloc
 (Optional) Memory allocation debugging hook. Used for tracking calls to pfMalloc. 更多...
 
AkMemDebugMalign pfDebugMalign
 (Optional) Memory allocation debugging hook. Used for tracking calls to pfMalign. 更多...
 
AkMemDebugRealloc pfDebugRealloc
 (Optional) Memory allocation debugging hook. Used for tracking calls to pfRealloc. 更多...
 
AkMemDebugReallocAligned pfDebugReallocAligned
 (Optional) Memory allocation debugging hook. Used for tracking calls to pfReallocAligned. 更多...
 
AkMemDebugFree pfDebugFree
 (Optional) Memory allocation debugging hook. Used for tracking calls to pfFree. 更多...
 
AkUInt32 uMemoryDebugLevel
 Default 0 disabled. 1 debug enabled. 2 stomp allocator enabled. 3 stomp allocator and debug enabled. User implementations may use multiple non-zero values to offer different features. 更多...
 
AkMemTrimForThread pfTrimForThread
 (Optional) Thread-specific allocator "trimming" hook. 更多...
 
AkSpanCount uVMSpanCount
 Virtual memory span count for each map operation in rpmalloc. Defaults to AkSpanCount_Huge. For more information, refer to Tuning "Span Count". 更多...
 
AkSpanCount uDeviceSpanCount
 Device memory span count for each map operation in rpmalloc. Defaults to AkSpanCount_Huge. For more information, refer to Tuning "Span Count". 更多...
 

详细描述

Initialization settings for the default implementation of the Memory Manager. For more details, see 初始化.

参见
AK::MemoryMgr

在文件 AkModule.h154 行定义.


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅