Obi  6.4
Unified particle physics for Unity
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Obi.JobHandlePool< T > Class Template Reference

Public Member Functions

 JobHandlePool (int initialSize)
 
Borrow ()
 
void ReleaseAll ()
 

Detailed Description

Simple pool to avoid allocating job handles at runtime. Only a small number of handles are expected, so once a handle is borrowed from the pool it cannot be individually returned: all borrowed handles are returned to the pool at the end of each step.

Type Constraints
T :IObiJobHandle 
T :new() 

The documentation for this class was generated from the following file: