mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Main change here is the introduction of the Context trait. The "direct" implementation of it goes straight to wgpu-core. This commit also has small improvements: - consuming command buffers on submit - Instance type - proper call to destructors
describe
This example prints output describing the adapter in use.
To Run
cargo run --example describe
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 }