|
Wwise SDK 2022.1.19
|
#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 初始化.
在文件 AkModule.h 第 154 行定义.