requestAdapter

inline suspend fun GPU.requestAdapter(): GPUAdapter?(source)

The requestAdapter() method of the GPU interface returns a Promise that fulfills with a GPUAdapter object instance. From this you can request a GPUDevice, adapter info, features, and limits.

MDN Reference