Method IncreaseCapacity
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
IncreaseCapacity(int)
Increases the capacity of the pool.
[Version(3, 2, 0)]
public void IncreaseCapacity(int increment)
Parameters
increment
intThe number of new pool objects to add.
Exceptions
- ArgumentOutOfRangeException
increment
is negative.