Documentation

Unity Engine

Unity Engine

Dispose

Releases all resources (memory).
Read time 1 minuteLast updated a month ago

Definition

Dispose()

Releases all resources (memory).
public void Dispose()

Dispose(JobHandle)

Creates and schedules a job that will release all resources (memory and safety handles) of this stream.
public JobHandle Dispose(JobHandle inputDeps)

Parameters

inputDeps

A job handle which the newly scheduled job will depend upon.

Returns

Type

Description

JobHandleThe handle of a new job that will release all resources (memory and safety handles) of this stream.