Skip to content

WasmGPU.createOverlay

Summary

WasmGPU.createOverlay is the overlay factory facade. It creates the DOM-backed overlay system and axis-triad, grid, and legend layers that can be attached to it; returned systems and layers are caller-owned.

Syntax

const overlay = wgpu.createOverlay.system();
const grid = wgpu.createOverlay.grid();
overlay.addLayer(grid);

Available APIs

See Also