select_backend

Function select_backend 

Source
pub fn select_backend(opts: &GpuOptions) -> Result<GpuContextHandle, GpuError>
Expand description

Select the best available backend given build-time features and runtime options. Order: preferred backend (if set), then wgpu, mock, noop.