MeshLineDrawer
A utility class for rendering mesh-based lines in graphical contexts. This class provides methods for drawing line segments and strips with customizable width, color, and other visual properties using shaders.
The implementation leverages a shader-driven approach for efficient rendering. It maintains internal management of vertex buffers and shaders to handle the drawing of complex line geometries.
Functions
Link copied to clipboard
fun drawLineSegments( drawContext: DrawContext, drawStyle: DrawStyle, segments: List<Vector3>, weights: List<Double> = emptyList(), colors: List<ColorRGBa> = emptyList())
Link copied to clipboard