implicit operator AllocatorHandle(Allocator)
Implicitly convert an Allocator to an AllocatorHandle with its Version being reset to 0.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Operator
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
implicit operator AllocatorHandle(AllocatorHandl)
public static implicit operator AllocatorManager.AllocatorHandle(Allocator a)
Parameters
The Allocator to convert.
Returns
Type | Description |
|---|---|
| AllocatorHandle | The AllocatorHandle of an allocator. |