Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ConvertToAllocatorHandle(Allocator)

Convert an Allocator to an AllocatorHandle, keeping the Version.
Read time 1 minuteLast updated 14 days ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public static AllocatorManager.AllocatorHandle ConvertToAllocatorHandle(Allocator a)

Parameters

The Allocator to convert.

Returns

Type

Description

AllocatorHandleThe AllocatorHandle of an allocator.