Definition
WebGPU defines GPUCanvasContext
[Exposed=(Window, Worker), SecureContext]
interface GPUCanvasContext {
readonly attribute (HTMLCanvasElement or OffscreenCanvas) canvas;
undefined configure(GPUCanvasConfiguration configuration);
undefined unconfigure();
GPUCanvasConfiguration? getConfiguration();
GPUTexture getCurrentTexture();
};
Methods and attributes that return objects implementing GPUCanvasContext
Referring specifications
- HTML Standard refers to
GPUCanvasContext