IndirectArguments
GraphicsBuffer can be used as an indirect argument buffer for indirect draws and dispatches.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
IndirectArguments = 256
Remarks
Indirect arguments buffers are used for Graphics.RenderPrimitivesIndirect, ComputeShader.DispatchIndirect, RayTracingShader.DispatchIndirect or Graphics.RenderMeshIndirect.
The buffer size must be a minimum of 12 bytes. The underlying DirectX 11 unordered access view format will be R32_UINT, and shader resource view format will be R32 typeless.