Bakes polyline features into a flat instance buffer of world-space SEGMENTS for a
screen-constant-width line pass (each consecutive vertex pair → one instance). Unlike
buildPolylines (which makes a constant-WORLD-width ribbon mesh for the deferred
path), this leaves the width to the line feature's vertex shader. Layout per instance:
posA(3) posB(3) rgba(4) = 10 floats / 40 bytes. Returns null when nothing was emitted.
Bakes polyline features into a flat instance buffer of world-space SEGMENTS for a screen-constant-width line pass (each consecutive vertex pair → one instance). Unlike buildPolylines (which makes a constant-WORLD-width ribbon mesh for the deferred path), this leaves the width to the line feature's vertex shader. Layout per instance:
posA(3) posB(3) rgba(4)= 10 floats / 40 bytes. Returns null when nothing was emitted.