Version

    Autre Documentation

menu_open
Wwise SDK 2023.1.2
AkMemSettings Struct Reference

#include <AkModule.h>

Public Attributes

High-level memory allocation hooks. When not NULL, redirect allocations normally forwarded to rpmalloc.
AkMemInitForThread pfInitForThread
 (Optional) Thread-specific allocator initialization hook. More...
 
AkMemTermForThread pfTermForThread
 (Optional) Thread-specific allocator termination hook. More...
 
AkMemTrimForThread pfTrimForThread
 (Optional) Thread-specific allocator "trimming" hook. Used to relinquish memory resources when threads enter a period of inactivity. More...
 
AkMemMalloc pfMalloc
 (Optional) Memory allocation hook. More...
 
AkMemMalign pfMalign
 (Optional) Memory allocation hook. More...
 
AkMemRealloc pfRealloc
 (Optional) Memory allocation hook. More...
 
AkMemReallocAligned pfReallocAligned
 (Optional) Memory allocation hook. More...
 
AkMemFree pfFree
 (Optional) Memory allocation hook. More...
 
AkMemTotalReservedMemorySize pfTotalReservedMemorySize
 (Optional) Memory allocation statistics hook. More...
 
AkMemSizeOfMemory pfSizeOfMemory
 (Optional) Memory allocation statistics hook. More...
 
Configuration.
AkUInt64 uMemAllocationSizeLimit
 When non-zero, limits the total amount of virtual and device memory allocated by AK::MemoryMgr. More...
 
bool bEnableSeparateDeviceHeap
 Enable use of device memory heap for all allocations (on applicable platforms). More...
 
AK::TempAlloc::InitSettings tempAllocSettings [AK::TempAlloc::Type_NUM]
 Configuration of behavior for the temporary-memory pools. For more information, see Tuning "Temp Alloc" Memory. More...
 
Page allocation hooks, used by rpmalloc. Default to AKPLATFORM::AllocVM et al.
AkMemAllocVM pfAllocVM
 Virtual page allocation hook. More...
 
AkMemFreeVM pfFreeVM
 Virtual page allocation hook. More...
 
AkMemAllocVM pfAllocDevice
 Device page allocation hook. More...
 
AkMemFreeVM pfFreeDevice
 Device page allocation hook. More...
 
AkUInt32 uVMPageSize
 Virtual memory page size. Defaults to 0 which means auto-detect. More...
 
AkUInt32 uDevicePageSize
 Device memory page size. Defaults to 0 which means auto-detect. More...
 
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. More...
 
Memory allocation debugging.
AkMemDebugMalloc pfDebugMalloc
 (Optional) Memory allocation debugging hook. Used for tracking calls to pfMalloc. More...
 
AkMemDebugMalign pfDebugMalign
 (Optional) Memory allocation debugging hook. Used for tracking calls to pfMalign. More...
 
AkMemDebugRealloc pfDebugRealloc
 (Optional) Memory allocation debugging hook. Used for tracking calls to pfRealloc. More...
 
AkMemDebugReallocAligned pfDebugReallocAligned
 (Optional) Memory allocation debugging hook. Used for tracking calls to pfReallocAligned. More...
 
AkMemDebugFree pfDebugFree
 (Optional) Memory allocation debugging hook. Used for tracking calls to pfFree. More...
 
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. More...
 
AkSpanCount uVMSpanCount
 Virtual memory span count for each map operation in rpmalloc. Defaults to AkSpanCount_Huge. For more information, refer to Tuning "Span Count". More...
 
AkSpanCount uDeviceSpanCount
 Device memory span count for each map operation in rpmalloc. Defaults to AkSpanCount_Huge. For more information, refer to Tuning "Span Count". More...
 

Detailed Description

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

See also
AK::MemoryMgr

Definition at line 154 of file AkModule.h.


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise