Utility to manage a pool of structs in GECore.
More...
|
|
| StructPool () |
| | Default constructor.
|
| |
| | StructPool (StructPool< T > source) |
| | Copy constructor - creates a deep copy of the source pool.
|
| |
|
int | Alloc (ref NativeArray< T > a) |
| |
|
void | Free (int index) |
| |
|
void | Init (NativeArray< T > a, int growBy) |
| |
Utility to manage a pool of structs in GECore.
- Template Parameters
-
◆ StructPool()
Copy constructor - creates a deep copy of the source pool.
- Parameters
-
| source | The source pool to copy from |
The documentation for this class was generated from the following file:
- ge2/GE2/Assets/GravityEngine2/Runtime/Core/Tools/StructPool.cs