AllocatorManager.IAllocator
An allocator function pointer.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Interface
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public interface AllocatorManager.IAllocator : IDisposable
Properties
Property | Description |
|---|---|
| Function | The allocator function. It can allocate, deallocate, or reallocate. |
| Handle | This allocator. |
| IsAutoDispose | Check whether an allocator will automatically dispose allocations. |
| IsCustomAllocator | Check whether an allocator is a custom allocator |
| ToAllocator | Cast the Allocator index into Allocator |
Methods
Method | Description |
|---|---|
| Try | Invoke the allocator function. |