Skip to main content

Module scatter2

Module scatter2 

Source

Structs§

Scatter2GpuInputs
Inputs required to pack scatter vertices directly on the GPU.
Scatter2GpuParams
Parameters describing how the GPU vertices should be generated.

Enums§

ScatterAttributeBuffer
Optional per-point scalar attribute buffer (marker sizes).
ScatterColorBuffer
Optional per-point color buffer. Host data is supplied as RGBA tuples; GPU buffers may contain RGB (3 floats) or RGBA (4 floats) sequences.

Functions§

pack_vertices_from_xy
Builds a GPU-resident vertex buffer for scatter plots directly from provider-owned XY arrays. Only single-precision tensors are supported today; callers should fall back to host packing for other types.