Rendering in ECS.

Hello. I am new to ECS and Unity in general. I wanted to create a simple program but I am ran into some problems. I tried to do an Entity.ForEach((ref NodeComponent nodeComponent, ref RenderMesh renderMesh) => {}) but i cannot for some reason use RenderMesh (NodeComponent is a component created by me which has just has a float3). Can someone tell me what rendering component should i use to modify the rendering for an entity? Thank you so much in advance!!

First week using the lambda API so I might be steering you down a doomed path… but check out the doc … especially Shared component filtering

https://docs.unity3d.com/Packages/com.unity.entities@0.4/manual/entities_job_foreach.html

Yea, that was problem. Thank you