AllocatorHelper(AllocatorHandle, bool, int)
Allocate the custom allocator from backingAllocator and register it.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Constructor
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
[ExcludeFromBurstCompatTesting("CreateAllocator is unburstable")]public AllocatorHelper(AllocatorManager.AllocatorHandle backingAllocator, bool isGlobal = false, int globalIndex = 0)
Parameters
Allocator used to allocate backing storage.
Flag indicating if the allocator is a global allocator.
Index into the global function table of the allocator to be created.