文档

Unity Engine

Unity Engine

ConvertToAllocatorHandle(Allocator)

Convert an Allocator to an AllocatorHandle, keeping the Version.
阅读时间1 分钟最后更新于 1 个月前

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.