Struct EntityCommandBuffer.Concurrent
Allows concurrent (deterministic) command buffer recording.
Syntax
Methods
AddBuffer<T>(Int32, Entity)
Declaration
public DynamicBuffer<T> AddBuffer<T>(int jobIndex, Entity e)
where T : struct, IBufferElementData
Parameters
Type |
Name |
Description |
System.Int32 |
jobIndex |
|
Entity |
e |
|
Returns
Type Parameters
AddComponent<T>(Int32, Entity, T)
Declaration
public void AddComponent<T>(int jobIndex, Entity e, T component)
where T : struct, IComponentData
Parameters
Type |
Name |
Description |
System.Int32 |
jobIndex |
|
Entity |
e |
|
T |
component |
|
Type Parameters
AddSharedComponent<T>(Int32, Entity, T)
Declaration
public void AddSharedComponent<T>(int jobIndex, Entity e, T component)
where T : struct, ISharedComponentData
Parameters
Type |
Name |
Description |
System.Int32 |
jobIndex |
|
Entity |
e |
|
T |
component |
|
Type Parameters
CreateEntity(Int32, EntityArchetype)
Declaration
public Entity CreateEntity(int jobIndex, EntityArchetype archetype = default(EntityArchetype))
Parameters
Returns
DestroyEntity(Int32, Entity)
Declaration
public void DestroyEntity(int jobIndex, Entity e)
Parameters
Type |
Name |
Description |
System.Int32 |
jobIndex |
|
Entity |
e |
|
Instantiate(Int32, Entity)
Declaration
public Entity Instantiate(int jobIndex, Entity e)
Parameters
Type |
Name |
Description |
System.Int32 |
jobIndex |
|
Entity |
e |
|
Returns
RemoveComponent(Int32, Entity, ComponentType)
Declaration
public void RemoveComponent(int jobIndex, Entity e, ComponentType componentType)
Parameters
RemoveComponent<T>(Int32, Entity)
Declaration
public void RemoveComponent<T>(int jobIndex, Entity e)
Parameters
Type |
Name |
Description |
System.Int32 |
jobIndex |
|
Entity |
e |
|
Type Parameters
SetBuffer<T>(Int32, Entity)
Declaration
public DynamicBuffer<T> SetBuffer<T>(int jobIndex, Entity e)
where T : struct, IBufferElementData
Parameters
Type |
Name |
Description |
System.Int32 |
jobIndex |
|
Entity |
e |
|
Returns
Type Parameters
SetComponent<T>(Int32, Entity, T)
Declaration
public void SetComponent<T>(int jobIndex, Entity e, T component)
where T : struct, IComponentData
Parameters
Type |
Name |
Description |
System.Int32 |
jobIndex |
|
Entity |
e |
|
T |
component |
|
Type Parameters
SetSharedComponent<T>(Int32, Entity, T)
Declaration
public void SetSharedComponent<T>(int jobIndex, Entity e, T component)
where T : struct, ISharedComponentData
Parameters
Type |
Name |
Description |
System.Int32 |
jobIndex |
|
Entity |
e |
|
T |
component |
|
Type Parameters