Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.

    Read our full announcement for more information and let us know if you have any questions.

Question How to use Graphics.DrawMeshInstancedIndirect in SRP Render Graph Pipeline?

Discussion in 'General Graphics' started by airliang, Aug 28, 2023.

  1. airliang


    Aug 8, 2019
    I am developing a rendering pipeling based on SRP RenderGraph by my own. And I am trying to use the API Graphics.DrawMeshInstancedIndirect, but it did not work. While I change to CommandBuffer and it works. How can I use Graphics.DrawMeshInstancedIndirect properly?
    I implemented this function in a monobehaviour. And use an event to call Graphics.DrawMeshInstancedIndirect before execute rendergraph.