バージョン

    その他のドキュメント

menu_open
Wwise SDK 2023.1.2
AkMemSettings 構造体

#include <AkModule.h>

公開変数類

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. [詳解]
 
AkMemTrimForThread pfTrimForThread
 (Optional) Thread-specific allocator "trimming" hook. Used to relinquish memory resources when threads enter a period of inactivity. [詳解]
 
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 bEnableSeparateDeviceHeap
 Enable use of device memory heap for all allocations (on applicable platforms). [詳解]
 
AK::TempAlloc::InitSettings tempAllocSettings [AK::TempAlloc::Type_NUM]
 Configuration of behavior for the temporary-memory pools. For more information, see Tuning "Temp Alloc" Memory. [詳解]
 
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. [詳解]
 
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からはじめよう