wgpuSurfaceConfigure

Configures parameters for rendering to surface. Produces a DeviceError for all content-timeline errors defined by the WebGPU specification.

See Surface-Configuration for more details.

Parameters

config

The new configuration to use.