Skip to main content

get_device

Function get_device 

Source
pub fn get_device() -> Arc<Device> ⓘ
Expand description

Gets the wgpu device used by the application

§Examples

let device = get_device();