SupportsAllocator(Allocator)
Determines whether the specified allocator supports memory labeling.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.CoreModule
public static bool SupportsAllocator(Allocator allocator)
Parameters
The allocator to check.
Returns
Type | Description |
|---|---|
| bool | True if the allocator supports labeling; otherwise, false. |