Interface 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.
Namespace: Unity.Entities
Assembly: solution.dll
Syntax
public interface IECBSingleton
Methods
Name | Description |
---|---|
SetAllocator(Allocator) | Set the allocator that command buffers created with this singleton should be allocated with. |
SetAllocator(AllocatorHandle) | Set the allocator that command buffers created with this singleton should be allocated with. |
SetPendingBufferList(ref UnsafeList<EntityCommandBuffer>) | Sets the list of command buffers to play back when this system updates. |