# NativeMemoryRegionEntries

> A class housing native memory region data, returned by nativeMemoryRegions.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor.Profiling.Memory.Experimental](/engine/6000.7/script-reference/unityeditor/profiling/memory/experimental.md)
* **Assembly:** UnityEditor.CoreModule

> **Warning:**
>
> **Deprecated.** This API is outdated and will be removed. Please check out the Memory Profiler Package ([https://docs.unity3d.com/Packages/com.unity.memoryprofiler@latest/](https://docs.unity3d.com/Packages/com.unity.memoryprofiler@latest/))

```csharp
public class NativeMemoryRegionEntries
```

## Properties

| Property                                                                                                                                            | Description                                                                                                                         |
| --------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| [addressBase](/engine/6000.7/script-reference/unityeditor/profiling/memory/experimental/nativememoryregionentries/addressbase.md)                   | An array containing addresses of the memory regions. Non-leaf entries containing child memory regions are set to 0.                 |
| [addressSize](/engine/6000.7/script-reference/unityeditor/profiling/memory/experimental/nativememoryregionentries/addresssize.md)                   | An array that contains the accumulated size, in bytes, including all of its children, of the memory region.                         |
| [firstAllocationIndex](/engine/6000.7/script-reference/unityeditor/profiling/memory/experimental/nativememoryregionentries/firstallocationindex.md) | An array that contains indexes into the nativeAllocations array that identify the first allocation that the memory region contains. |
| [memoryRegionName](/engine/6000.7/script-reference/unityeditor/profiling/memory/experimental/nativememoryregionentries/memoryregionname.md)         | An array containing the names of the memory regions.                                                                                |
| [numAllocations](/engine/6000.7/script-reference/unityeditor/profiling/memory/experimental/nativememoryregionentries/numallocations.md)             | An array that contains the number of allocations, including children, that the memory regions contain.                              |
| [parentIndex](/engine/6000.7/script-reference/unityeditor/profiling/memory/experimental/nativememoryregionentries/parentindex.md)                   | The parent of this memory region, referenced by index into this entry array. The root memory region contains parent index of -1.    |

## Methods

| Method                                                                                                                                | Description                               |
| ------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
| [GetNumEntries](/engine/6000.7/script-reference/unityeditor/profiling/memory/experimental/nativememoryregionentries/getnumentries.md) | Gets the number of memory region entries. |
