WebGPU Headers: WGPUSurfaceDescriptor Struct Reference
The root descriptor for the creation of an WGPUSurface with wgpuInstanceCreateSurface. It isn't sufficient by itself and must have one of the WGPUSurfaceSource* in its chain. See Surface Creation for more details.
Default values can be set using WGPU_SURFACE_DESCRIPTOR_INIT as initializer.