Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CommandBufferExecutionFlags

Flags describing the intention for how the command buffer will be executed. Set these via CommandBuffer.SetExecutionFlags.
Read time 1 minuteLast updated 4 days ago

Definition

public enum CommandBufferExecutionFlags

Fields

Value

Description

AsyncComputeCommand buffers flagged for async compute execution will throw exceptions if non-compatible commands are added to them. See ScriptableRenderContext.ExecuteCommandBufferAsync and Graphics.ExecuteCommandBufferAsync.
NoneWhen no flags are specified, the command buffer is considered valid for all means of execution. This is the default for new command buffers.