AllocateBlock<T>(int)
Allocates a block with this allocator function.
阅读时间1 分钟最后更新于 1 个月前
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. |