IsValidAllocator(Allocator)
Returns true if the allocator label is valid and can be used to allocate or deallocate memory.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
public static bool IsValidAllocator(Allocator allocator)
Parameters
Returns
Type | Description |
|---|---|
| bool |