Skip to main content

context

Function context 

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