runmat-plot 0.7.1

GPU-accelerated and static plotting for RunMat with WGPU and Plotters
1
2
3
4
5
6
7
8
9
use runmat_accelerate_api::WgpuEmission;

/// GPU context used by plot elements to build viewport-aware GPU geometry.
///
/// On wasm, some geometry generation is deferred until render-time so we can incorporate the
/// current viewport pixel size (e.g. to convert `LineWidth` pixels → data units).
pub struct GpuPackContext<'a> {
    pub emission: &'a WgpuEmission<'a>,
}