Register<T>(ref T, bool, bool, int)
Saves an allocator's function pointers in a free slot of the global function table. Thread safe.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
Register<T>(T, bool, bool, int)
[ExcludeFromBurstCompatTesting("Uses managed delegate")]public static void Register<T>(this ref T t, bool IsAutoDispose = false, bool isGlobal = false, int globalIndex = 0) where T : unmanaged, AllocatorManager.IAllocator