Table of Contents

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.

Returns:
A pointer to the start of the allocated memory (NULL if the system is out of memory)
See also:
Parameters:
in_poolId  ID of the memory pool
in_uSize  Number of bytes to allocate
in_uAlignment  Alignment (in bytes)

Referenced by AkArrayAllocatorAlignedSimd< U_POOL >::Alloc(), and operator new().