Version

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

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