Module init

Source

Functions§

initialize_adapter_from_envwgpu_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.