Tanoda
|
Represents a class that forces GC collection using a fixed interval. More...
Public Member Functions | |
void | RegisterLoading () |
Indicates a new model is loading. More... | |
void | UnRegisterLoading (float interval) |
Indicates a model has finished loading or an error occurred. More... | |
Static Public Member Functions | |
static GCHelper | GetInstance () |
Gets the GCHelper instance and setup the given internal. More... | |
Public Attributes | |
float | Interval = 1f |
The interval to do the GC Collection. More... | |
Represents a class that forces GC collection using a fixed interval.
Definition at line 10 of file GCHelper.cs.
|
static |
Gets the GCHelper instance and setup the given internal.
Definition at line 25 of file GCHelper.cs.
void TriLibCore.GCHelper.RegisterLoading | ( | ) |
Indicates a new model is loading.
Definition at line 82 of file GCHelper.cs.
void TriLibCore.GCHelper.UnRegisterLoading | ( | float | interval | ) |
Indicates a model has finished loading or an error occurred.
interval | Interval used to decrease the model loading counter. |
Definition at line 91 of file GCHelper.cs.
float TriLibCore.GCHelper.Interval = 1f |
The interval to do the GC Collection.
Definition at line 15 of file GCHelper.cs.