Documentation

Unity Engine


Unity Engine


IECBSingleton

Interface for use with EntityCommandBufferSystems to store the list of pending buffers, which can be accessed from a bursted ISystem. You should implement a singleton with this interface every time you inherit from EntityCommandBufferSystem.
Read time 1 minuteLast updated a day ago

Definition

  • Type: Interface
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public interface IECBSingleton

Methods

Method

Description

SetAllocatorSet the allocator that command buffers created with this singleton should be allocated with.
SetPendingBufferListSets the list of command buffers to play back when this system updates.