Interface INativeDisposable
For scheduling release of unmanaged resources.
Namespace: Unity.Collections
Assembly: Unity.Collections.dll
Syntax
public interface INativeDisposable
Methods
Dispose(JobHandle)
Creates and schedules a job that will release all resources (memory and safety handles) of this collection.
Declaration
JobHandle Dispose(JobHandle inputDeps)
Parameters
| Type | Name | Description |
|---|---|---|
| JobHandle | inputDeps | A job handle which the newly scheduled job will depend upon. |
Returns
| Type | Description |
|---|---|
| JobHandle | The handle of a new job that will release all resources (memory and safety handles) of this collection. |