Search Unity

Graphics.DrawMesh(InstancedIndirect) vs CommandBuffer.DrawMesh

Discussion in 'Shaders' started by psomgeorg, Sep 5, 2019.

  1. psomgeorg

    psomgeorg

    Joined:
    Mar 16, 2019
    Posts:
    99
    I want to use command buffers to render in update some instances of a prefab using drawmeshinstancedindirect. When i call it via graphics its fine however when i am trying to use command buffers it seems that batches increase each update like the result still holds for the whole duration
    upload_2019-9-5_21-48-47.png