Wwise 版本
arrow_right 目录
AkMemPoolId __cdecl AK::MemoryMgr::CreatePool ( void *  in_pMemAddress,
AkUInt32  in_uMemSize,
AkUInt32  in_uBlockSize,
AkUInt32  in_eAttributes,
AkUInt32  in_uBlockAlign = 0  
)

Create a new memory pool.

Returns:
The ID of the created memory pool, or AK_INVALID_POOL_ID if creation failed
Tip.gif
Tip: Refer to Pools for information about pool resource overhead.
See also:
Parameters:
in_pMemAddress  Memory address of the pool, or NULL if it should be allocated
in_uMemSize  Size of the pool (in bytes)
in_uBlockSize  Size of a block (in bytes)
in_eAttributes  Memory pool attributes: use values of AkMemPoolAttributes
in_uBlockAlign  Alignment of memory blocks