painter/shader_network_painter library

GPU-accelerated painter for the particle network.

Uses a FragmentShader to render all particles and connection lines in a single draw call on the GPU, replacing the CPU-bound OptimizedNetworkPainter when shaders are available.

Uniform indices mirror the layout declared in shaders/particles.frag. See that file for the authoritative index table.

Classes

ShaderNetworkPainter
A CustomPainter that delegates all rendering to a FragmentShader.