Documentation

Unity Engine

Download Unity

Unity Engine

Dispose()

Deallocates the memory represented by this range.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public void Dispose()

Remarks

Same as disposing the AllocatorManager.Block which contains this range.
Cannot be used with allocators which need the allocation size to deallocate.