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
- Type: Enum
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public enum CommandBufferExecutionFlags
Fields
Value | Description |
|---|---|
| AsyncCompute | Command buffers flagged for async compute execution will throw exceptions if non-compatible commands are added to them. See ScriptableRenderContext.ExecuteCommandBufferAsync and Graphics.ExecuteCommandBufferAsync. |
| None | When no flags are specified, the command buffer is considered valid for all means of execution. This is the default for new command buffers. |