Expand description
CPU-side geometry building for WgpuBackend.
This module owns:
DrawSegment— a scissor-bounded range in the solid vertex buffer.GradientDraw— per-draw gradient vertex + uniform data.build_geometry— the main CPU geometry builder that walks aDrawListand emits(Vertex[], DrawSegment[], GradientDraw[], TexturedDraw[]).- Visibility culling helpers:
cmd_bounds,rect_from_points,rects_intersect,scissor_to_rect. - Stroke/dashed-line emitters and gradient uniform builders.