FreeTracked
Free memory with leak tracking.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
FreeTracked(void*, Allocator)
Free memory with leak tracking.
public static void FreeTracked(void* memory, Allocator allocator)
Parameters
FreeTracked(void*, MemoryLabel)
Free memory with leak tracking, using the specified memory label.
public static void FreeTracked(void* memory, MemoryLabel label)
Parameters
Memory pointer.
The memory label that was used to allocate the memory. The memory label must match the one used during allocation to ensure correct deallocation.