AllocateBlock<T>(int)
Allocates a block with this allocator function.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public AllocatorManager.Block AllocateBlock<T>(int items) where T : unmanaged
Parameters
The number of values to allocate for.
Returns
Type | Description |
|---|---|
| Block | The allocated block. |