Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Dispose

Releases all resources (memory and safety handles).
Read time 1 minuteLast updated 9 days ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule

Dispose()

Releases all resources (memory and safety handles).
public void Dispose()

Dispose(JobHandle)

Creates and schedules a job that will dispose this queue.
public JobHandle Dispose(JobHandle inputDeps)

Parameters

inputDeps

The handle of a job which the new job will depend upon.

Returns

Type

Description

JobHandleThe handle of a new job that will dispose this queue. The new job depends upon inputDeps.