版本

menu_open
void* __cdecl AK::MemoryMgr::GetBlock ( AkMemPoolId  in_poolId  ) 

Get a block from a Fixed-Size Block type pool. To be used with pools created with AkFixedSizeBlocksMode block management type, along with any of the block allocation types.

Returns:
A pointer to the start of the allocated memory (NULL if the system is out of memory) The size of the memory block is always in_uBlockSize, specified in AK::MemoryMgr::CreatePool.
Warning:
This method is not thread-safe. Fixed-Size Block pool access must be protected.
See also:
Parameters:
in_poolId  ID of the memory pool

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅