bool engineReleaseModel(string|element model)
Parameters
| Name | Type | Description |
|---|---|---|
| model | string|element | The model's name, or a model element made with engineCreateModel. |
Returns
true if this resource had requested the model, false if it had not.
The model can only leave memory once no resource holds it. When a resource stops, its requests are dropped on their own.
Example
engineRequestModel("infernus", true)
-- ...
engineReleaseModel("infernus")