I made a small package to render a line with pure ECS. One Entity per one line segment. I recently got a container arrangement visualization job for use in logistics which I decided to use ECS to tackle it. In the picture each straight line is one Entity with LineSegment containing float3 indicating from-to position and a line width. And LineStyle : ISharedComponentData indicating what material to use. Both components on one Entity will cause the system to attach the remaning things to be able to render a line, like MIR and LocalToWorld. https://github.com/5argon/ECSLineRenderer Idea Generate a thin rectangle mesh that goes 1 unit in the Z axis. Using MeshInstanceRenderer component and the TransformSystem, we could use z scale as line length, x scale as line width, position as line from, and rotation as line to. Assuming that this is only one segment of a line. To construct complex lines, we create more LineSegment entity. They should be render instanced as they are using the same mesh. What's left is to wait for MeshInstanceRendererSystem to support material property block so we could change line color without a new material. Rounded caps not suported yet, but surely that will break instancing because of different mesh. All lines are always rotated to face the main camera in billboard rendering style.