版本

menu_open
Wwise SDK 2023.1.3
AkPluginArrayAllocator类 参考

#include <IAkPluginMemAlloc.h>

类 AkPluginArrayAllocator 继承关系图:
AkArray< AkInputMapSlot< KEY, USER_DATA >, const AkInputMapSlot< KEY, USER_DATA > &, AkPluginArrayAllocator > AkArray< CustomMetadata, const CustomMetadata &, AkPluginArrayAllocator > AkStringData< AkPluginArrayAllocator, char > AkMixerInputMap< KEY, USER_DATA > AkAudioObject::ArrayCustomMetadata AkStringImpl< AkPluginArrayAllocator, char > AkString< AkPluginArrayAllocator, char >

Public 成员函数

AkForceInline AkPluginArrayAllocator ()
 
AkForceInline void Init (AK::IAkPluginMemAlloc *in_pAllocator)
 

Protected 成员函数

AkForceInline void * Alloc (size_t in_uSize)
 
AkForceInline void * ReAlloc (void *in_pCurrent, size_t, size_t in_uNewSize)
 
AkForceInline void Free (void *in_pAddress)
 
AkForceInline void TransferMem (void *&io_pDest, AkPluginArrayAllocator &in_src, void *in_pSrc)
 
AkForceInline AK::IAkPluginMemAllocGetAllocator ()
 

详细描述

Allocator for plugin-friendly arrays (see AkArray). Usage: Initialize the array with Init(AK::IAkPluginMemAlloc* in_pAllocator), passing it the memory allocator received from the host. Then use normally.

在文件 IAkPluginMemAlloc.h198 行定义.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅