Functions§
- initialize_
adapter_ from_ env - Initialize the adapter obeying the
WGPU_ADAPTER_NAMEenvironment variable. - initialize_
adapter_ from_ env_ or_ default - Initialize the adapter obeying the
WGPU_ADAPTER_NAMEenvironment variable and if it doesn’t exist fall back on a default adapter. - is_
browser_ webgpu_ supported - Determines whether the
Backends::BROWSER_WEBGPUbackend is supported. - new_
instance_ with_ webgpu_ detection - Create an new instance of wgpu, but disabling
Backends::BROWSER_WEBGPUif no WebGPU support was detected.