Is it possible to change an entity's RenderMesh color in ECS just like the renderer.material.color in monobehavior?

I’m working on a project that requires a lot of performance, so I’m considering trying to re-make it in DOTS.

I have a vague idea on how to do that, except for the material colors that were so easy to set and change in MonoBehavior using renderer.material.color = the_color.

Is there an equally easy way to do it with entities?

2023 Answer

Material overrides

2020 Answer

Per-instance material params