SetPass calls
RimGui uses CommandBuffer.DrawMesh()
internally for rendering and utilizes only a single shader and material.
Although the SetPass calls count in the Game window's Statistics increases when CommandBuffer.DrawMesh()
is used—even if the same material is used—this doesn't cause any actual issues, because the material values are not being sent to the GPU each time.