Documentation

Unity Engine


Unity Engine


SetAllocator

Set the allocator that command buffers created with this singleton should be allocated with.
Read time 1 minuteLast updated 2 days ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

SetAllocator(Allocator)

Set the allocator that command buffers created with this singleton should be allocated with.
void SetAllocator(Allocator allocatorIn)

Parameters

allocatorIn

The allocator to use

SetAllocator(AllocatorHandle)

Set the allocator that command buffers created with this singleton should be allocated with.
void SetAllocator(AllocatorManager.AllocatorHandle allocatorIn)

Parameters

allocatorIn

The allocator to use