Skip to main content

new_instance

Function new_instance 

Source
pub fn new_instance(backends: Option<Backends>) -> Instance
Expand description

Create a new instance.

This is for internal use. It is not necessary to create your own wgpu instance to use this library.