Files
wgpu/wgpu/examples/hello
2021-03-17 01:34:38 -04:00
..
2020-06-18 13:15:41 -04:00

hello

This example prints output describing the adapter in use.

To Run

cargo run --example hello

Example output

# You might see different output as it depends on your graphics card
AdapterInfo { name: "Intel(R) UHD Graphics 630", vendor: 0, device: 0, device_type: IntegratedGpu, backend: Metal }