Documentation

Unity Engine


Unity Engine


CreateCommandBuffer(WorldUnmanaged)

Create a command buffer for the parent system to play back.
Read time 1 minuteLast updated a day ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public EntityCommandBuffer CreateCommandBuffer(WorldUnmanaged world)

Parameters

The world in which to play it back.

Returns

Type

Description

EntityCommandBufferThe command buffer to record to.

Remarks

The command buffers created by this method are automatically added to the system's list of pending buffers.