Impact Interaction System API
Impact.Utility.ObjectPool Namespace Reference

Classes

class  ClassPool
 
interface  IPoolable
 
class  ObjectPool
 A generic class for handling object pools. More...
 
class  ObjectPoolGroup
 Keeps track of a group of object pools with templates of the same type. More...
 
class  PooledObject
 Base component for objects that are part of an object pool. More...
 

Enumerations

enum  ObjectPoolFallbackMode { None = 0 , LowerPriority = 1 , Oldest = 2 }
 Defines behavior of object pools when there is no available object. More...
 

Enumeration Type Documentation

◆ ObjectPoolFallbackMode

Defines behavior of object pools when there is no available object.

Enumerator
None 

Do nothing if no object is available.

LowerPriority 

Steal the object with the lowest priority lower than the current priority.

Oldest 

Steal the oldest active object (ignores priority).