pub async fn adapter(
instance: &Instance,
compatible_surface: Option<&Surface<'_>>,
) -> Result<Adapter, ContextError>Expand description
Create a new [wgpu::Adapter].
pub async fn adapter(
instance: &Instance,
compatible_surface: Option<&Surface<'_>>,
) -> Result<Adapter, ContextError>Create a new [wgpu::Adapter].