Skip to main content

register

Function register 

Source
pub fn register(reg: &mut BackendRegistry)
Expand description

Register the WebGPU backend into the given registry. Idempotent.

Registering before bind_adapter is fine — the backend simply reports unavailable until a host binds one.