Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

AllocatorHandleThe AllocatorHandle of an allocator.