Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Dispose()

Deallocates the memory represented by this range.
Read time 1 minuteLast updated 13 days 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.