Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

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

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

  1. airliang

    airliang

    Joined:
    Aug 8, 2019
    Posts:
    1
    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.