Constructor EntityCommandBuffer
EntityCommandBuffer(Allocator)
Creates a new command buffer.
Declaration
[NotBurstCompatible]
public EntityCommandBuffer(Allocator label)Parameters
| Type | Name | Description | 
|---|---|---|
| Allocator | label | Memory allocator to use for chunks and data | 
EntityCommandBuffer(Allocator, PlaybackPolicy)
Creates a new command buffer.
Declaration
[NotBurstCompatible]
public EntityCommandBuffer(Allocator label, PlaybackPolicy playbackPolicy)Parameters
| Type | Name | Description | 
|---|---|---|
| Allocator | label | Memory allocator to use for chunks and data | 
| PlaybackPolicy | playbackPolicy | Specifies if the EntityCommandBuffer can be played a single time or more than once. |