pub async fn init() -> Result<Arc<GpuContext>>Expand description
Initialise the global GPU context (idempotent). Required before any GPU work in the browser, where initialisation cannot block.
pub async fn init() -> Result<Arc<GpuContext>>Initialise the global GPU context (idempotent). Required before any GPU work in the browser, where initialisation cannot block.