viz.core.configureCanvas
function configureCanvas(canvas: HTMLCanvasElement | OffscreenCanvas): GPUCanvasContextConfigure a canvas for WebGPU rendering. Returns the context configured with the shared device.
Parameters
canvasHTMLCanvasElement | OffscreenCanvas
Returns
GPUCanvasContext