Interface for a provider of GPUCanvasContext. Useful for non-Web environments where HTML Canvas element does not exist.
the canvas height.
the canvas width.
Gets a WebGLRenderingContext.
context type. Must be 'webgpu'
a GPUCanvasContext, or null if unsupported.
Generated using TypeDoc
Interface for a provider of GPUCanvasContext. Useful for non-Web environments where HTML Canvas element does not exist.