Try(ref Block)
Invoke the allocator function.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
Try(Block)
int Try(ref AllocatorManager.Block block)
Parameters
The block to allocate, deallocate, or reallocate. See AllocatorManager.Try
Returns
Type | Description |
|---|---|
| int | 0 if successful. Otherwise, returns the error code from the allocator function. |