Gravity Engine 2 9.0
Loading...
Searching...
No Matches
GravityEngine2.StructPool< T > Class Template Reference

Utility to manage a pool of structs in GECore. More...

Public Member Functions

 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)
 

Detailed Description

Utility to manage a pool of structs in GECore.

Template Parameters
T
Type Constraints
T :struct 

Constructor & Destructor Documentation

◆ StructPool()

Copy constructor - creates a deep copy of the source pool.

Parameters
sourceThe source pool to copy from

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