Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetCommandBuffers(CameraEvent)

Get command buffers to be executed at a specified place. This API is only available with the Built-in renderer.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public CommandBuffer[] GetCommandBuffers(CameraEvent evt)

Parameters

When to execute the command buffer during rendering.

Returns

Type

Description

CommandBuffer[]Array of command buffers.

Remarks