目次

Wwise SDK 2018.1.11

◆ Malign()

void* __cdecl AK::MemoryMgr::Malign ( AkMemPoolId  in_poolId,
size_t  in_uSize,
AkUInt32  in_uAlignment 
)

Allocate memory from a pool, overriding the pool's default memory alignment. Needs to be used in conjunction with AK::MemoryMgr::Falign.

戻り値
A pointer to the start of the allocated memory (NULL if the system is out of memory)
参照
引数
in_poolId ID of the memory pool
in_uSize Number of bytes to allocate
in_uAlignment Alignment (in bytes)

参照元 AkArrayAllocatorAlignedSimd< U_POOL >::Alloc(), AkHybridAllocator< uBufferSizeBytes, uAlignmentSize >::Alloc(), operator new().