Adapter docs tell how to create

This commit is contained in:
DevJac 2024-10-22 10:04:38 -06:00 committed by Erich Gubler
parent d539466997
commit fe8a9b2f95

View File

@ -5,6 +5,9 @@ use crate::*;
/// Handle to a physical graphics and/or compute device. /// 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`] /// Adapters can be used to open a connection to the corresponding [`Device`]
/// on the host system by using [`Adapter::request_device`]. /// on the host system by using [`Adapter::request_device`].
/// ///