API reference
API reference
Select your platform
No SDKs available
No versions available

ObjectPool Class

Extends IDisposable
A data struct for pooling objects for reuse

Member Functions

A constructor that takes a specified object generation function
Take an object from the pool or generate if none are available
Return an item to the pool
Generates and returns a specified amount of objects
Immediately unload all available items
Did you find this page helpful?
Thumbs up icon
Thumbs down icon