Version

    Autre Documentation

menu_open
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.

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(), AkHybridAllocator< uBufferSizeBytes, uAlignmentSize >::Alloc(), and operator new().


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise