文档

Unity Engine

Unity Engine

implicit operator AllocatorHandle(Allocator)

Implicitly convert an Allocator to an AllocatorHandle with its Version being reset to 0.
阅读时间1 分钟最后更新于 1 个月前

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.