Imports a GPUDevice for a WebGpuContextDescriptor, whose instance and queue stay unset.
GPUDevice
WebGpuContextDescriptor
Throws a TypeError when device is not a GPUDevice.
TypeError
device
Imports a
GPUDevicefor aWebGpuContextDescriptor, whose instance and queue stay unset.Throws a
TypeErrorwhendeviceis not aGPUDevice.