Optional
formatThe format that textures returned by GPUCanvasContext.getCurrentTexture will have. Must be one of the Supported context formats.
Optional
viewThe formats that views created from textures returned by GPUCanvasContext.getCurrentTexture may use.
Optional
colorThe color space that values written into textures returned by GPUCanvasContext.getCurrentTexture should be displayed with.
Optional
toneThe tone mapping determines how the content of textures returned by GPUCanvasContext.getCurrentTexture are to be displayed. Note: If an implementation doesn't support HDR WebGPU canvases, it should also not expose this member, to allow for feature detection. See GPUCanvasContext.getConfiguration.
Optional
alphaDetermines the effect that alpha values will have on the content of textures returned by GPUCanvasContext.getCurrentTexture when read, displayed, or used as an image source.
Parameters used to configure the renderer canvas context.