文档

Unity Engine

Unity Engine

Dispose()

Deallocates the memory represented by this range.
阅读时间1 分钟最后更新于 1 个月前

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.