pub fn context() -> Result<Arc<GpuContext>>Expand description
The global GPU context, initialising it on first use (native: blocking).
In the browser this only returns a context after init has completed.
pub fn context() -> Result<Arc<GpuContext>>The global GPU context, initialising it on first use (native: blocking).
In the browser this only returns a context after init has completed.