Skip to main content

adapter_info

Function adapter_info 

Source
pub fn adapter_info(info: &AdapterInfo) -> GpuAdapterInfo
Expand description

Describe one adapter in the terms gpui_platform publishes.

wgpu’s vocabulary stops at this crate’s boundary: gpui_platform is compiled for backends that have no wgpu, and an application choosing a GPU should not have to depend on the one the Linux renderer happens to use.