mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-21 22:33:49 +00:00
Adapter docs tell how to create
This commit is contained in:
parent
d539466997
commit
fe8a9b2f95
@ -5,6 +5,9 @@ use crate::*;
|
||||
|
||||
/// Handle to a physical graphics and/or compute device.
|
||||
///
|
||||
/// Adapters can be created using [`Instance::request_adapter`]
|
||||
/// or other [`Instance`] methods.
|
||||
///
|
||||
/// Adapters can be used to open a connection to the corresponding [`Device`]
|
||||
/// on the host system by using [`Adapter::request_device`].
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user