文档

Unity Engine

Unity Engine

SupportsAllocator(Allocator)

Determines whether the specified allocator supports memory labeling.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public static bool SupportsAllocator(Allocator allocator)

Parameters

allocator

The allocator to check.

Returns

Type

Description

boolTrue if the allocator supports labeling; otherwise, false.