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