Register<T>(ref T, bool, bool, int)
Saves an allocator's function pointers in a free slot of the global function table. Thread safe.
阅读时间1 分钟最后更新于 1 个月前
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