Differences between CommandBuffer.DrawMeshInstancedIndirect and Graphics.DrawMeshInstancedIndirect

Hi folks,

I’m currently experimenting with CommandBuffer.DrawMeshInstancedIndirect and saw that some arguments that are present are on Graphics.DrawMeshInstancedIndirect are not on the CommandBuffer variant.

Could anyone suggest equivalents for the following args (if they exist ofc), or explain why they are not needed?

  • castShadows

  • receiveShadows: Is this controlled by targeting a specific CameraEvent?

  • layer

  • camera: I’m assuming this isn’t needed as we just use SetRenderTarget. Is that correct?

  • bounds

Cheers :slight_smile:

Sorry to bump this but I haven’t found the answer anywhere else.