EntityCommandBuffer
Creates a new command buffer.
Read time 1 minuteLast updated a day ago
Definition
- Type: Constructor
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
EntityCommandBuffer(AllocatorHandle)
Creates a new command buffer.
public EntityCommandBuffer(AllocatorManager.AllocatorHandle allocator)
Parameters
Memory allocator to use for chunks and data
EntityCommandBuffer(Allocator, PlaybackPolicy)
Creates a new command buffer.
public EntityCommandBuffer(Allocator label, PlaybackPolicy playbackPolicy)
Parameters
Memory allocator to use for chunks and data
Specifies if the EntityCommandBuffer can be played a single time or more than once.
EntityCommandBuffer(AllocatorHandle, PlaybackPolicy)
Creates a new command buffer.
public EntityCommandBuffer(AllocatorManager.AllocatorHandle allocator, PlaybackPolicy playbackPolicy)
Parameters
Memory allocator to use for chunks and data
Specifies if the EntityCommandBuffer can be played a single time or more than once.