CommandBufferExecutionFlags
Flags describing the intention for how the command buffer will be executed. Set these via CommandBuffer.SetExecutionFlags.
阅读时间1 分钟最后更新于 1 个月前
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. |