Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

items

The number of values to allocate for.

Returns

Type

Description

BlockThe allocated block.