Navigation
API > API/Runtime > API/Runtime/ChaosCore > API/Runtime/ChaosCore/Chaos > API/Runtime/ChaosCore/Chaos/TObjectPool
References
| Module | ChaosCore |
| Header | /Engine/Source/Runtime/Experimental/ChaosCore/Public/Chaos/ObjectPool.h |
| Include | #include "Chaos/ObjectPool.h" |
void ReserveBlocks
&40;
int32 NumBlocks
&41;
Remarks
Makes sure the pool has at least NumBlocks blocks allocated Note: This will never reduce the number of blocks, it will only make sure the pool has at least NumBlocks block allocated, empty or not.
Parameters
| Name | Description |
|---|---|
| NumBlocks | Number of blocks to reserve |