interface GPUCanvasContext
The rendering context that presents WebGPU-rendered images on an
OffscreenCanvas. Obtained from
OffscreenCanvas.getContext with the "webgpu" context id.
Properties #
#canvas: OffscreenCanvas readonly
The canvas that this context is bound to.
Methods #
#configure(configuration: GPUCanvasConfiguration): undefined #getConfiguration(): GPUCanvasConfiguration | null #unconfigure(): undefined variable GPUCanvasContext
The constructor object for GPUCanvasContext.
A GPUCanvasContext is obtained from
OffscreenCanvas.getContext with the "webgpu" context id rather
than constructed directly.