Photon Quantum 2.1.1

Enumerations
Quantum.Allocator Namespace Reference

Enumerations

enum  HeapTrackingMode : byte
 To which extent Frame Heap allocations should be tracked. More...
 

Enumeration Type Documentation

◆ HeapTrackingMode

To which extent Frame Heap allocations should be tracked.

Enumerator
Disabled 

Allocations are not tracked.

DetectLeaks 

Allocations have their Ptrs tracked. A comparison between tracked and serialized Ptrs can detect memory leaks.

TraceAllocations 

Allocations are tracked, including the stack trace of each allocation. This mode can detect memory leaks and report the exact point in the code where the leaked memory was allocated from. WARNING: tracing allocations can be VERY slow. This mode is not recommended unless a memory leak is being actively debugged.