Allocates an item from an item pool.
Item AllocPoolItem (ItemPoolPtr itemPool)
Allocates an item from the specified item pool. An item pool must be created with CreateItemPool()
before AllocPoolItem()
can allocate items from it.
itemPool
Pool of items from which an item is allocated.ItemPool.h