Constructor EntityCommandBuffer
EntityCommandBuffer(AllocatorHandle)
Creates a new command buffer.
Declaration
public EntityCommandBuffer(AllocatorManager.AllocatorHandle allocator)
Parameters
Type | Name | Description |
---|---|---|
AllocatorManager.AllocatorHandle | allocator | Memory allocator to use for chunks and data |
EntityCommandBuffer(Allocator, PlaybackPolicy)
Creates a new command buffer.
Declaration
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. |
EntityCommandBuffer(AllocatorHandle, PlaybackPolicy)
Creates a new command buffer.
Declaration
public EntityCommandBuffer(AllocatorManager.AllocatorHandle allocator, PlaybackPolicy playbackPolicy)
Parameters
Type | Name | Description |
---|---|---|
AllocatorManager.AllocatorHandle | allocator | Memory allocator to use for chunks and data |
PlaybackPolicy | playbackPolicy | Specifies if the EntityCommandBuffer can be played a single time or more than once. |