Version: 2023.1

SystemInfo.supportsIndirectArgumentsBuffer

切换到手册
public static bool supportsIndirectArgumentsBuffer ;

描述

Returns true if the graphics system supports GPU draw calls with indirect argument buffers. (Read Only)

The following methods use indirect argument buffers and do not have fallbacks for systems that do not support GPU draw calls with indirect argument buffers:
Graphics.DrawProceduralIndirect, Graphics.DrawMeshInstancedIndirect, CommandBuffer.DrawProceduralIndirect, CommandBuffer.DrawMeshInstancedIndirect.
Ensure that the system supports indirect argument buffers before using those methods.