Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SupportsAllocator(Allocator)

Determines whether the specified allocator supports memory labeling.
Read time 1 minuteLast updated 10 days ago

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.