기술 자료

Unity Engine

Unity Engine

FreeTracked

Free memory with leak tracking.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

FreeTracked(void*, Allocator)

Free memory with leak tracking.
public static void FreeTracked(void* memory, Allocator allocator)

Parameters

memory

Memory pointer.

allocator

Allocator.

FreeTracked(void*, MemoryLabel)

Free memory with leak tracking, using the specified memory label.
public static void FreeTracked(void* memory, MemoryLabel label)

Parameters

memory

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.