IsValidAllocator(Allocator)
Returns true if the allocator label is valid and can be used to allocate or deallocate memory.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.CoreModule
public static bool IsValidAllocator(Allocator allocator)
Parameters
Returns
Type | Description |
|---|---|
| bool |