Constructor AllocatorHelper
AllocatorHelper(AllocatorHandle, bool, int)
Allocate the custom allocator from backingAllocator and register it.
Declaration
[ExcludeFromBurstCompatTesting("CreateAllocator is unburstable")]
public AllocatorHelper(AllocatorManager.AllocatorHandle backingAllocator, bool isGlobal = false, int globalIndex = 0)
Parameters
Type | Name | Description |
---|---|---|
AllocatorManager.AllocatorHandle | backingAllocator | Allocator used to allocate backing storage. |
bool | isGlobal | Flag indicating if the allocator is a global allocator. |
int | globalIndex | Index into the global function table of the allocator to be created. |