Trait AdapterInterface
pub trait AdapterInterface: CommonTraits {
// Required methods
fn request_device(
&self,
desc: &DeviceDescriptor<Option<&str>>,
) -> Pin<Box<dyn RequestDeviceFuture<Output = Result<(DispatchDevice, DispatchQueue), RequestDeviceError>>>>;
fn is_surface_supported(&self, surface: &DispatchSurface) -> bool;
fn features(&self) -> Features;
fn limits(&self) -> Limits;
fn downlevel_capabilities(&self) -> DownlevelCapabilities;
fn get_info(&self) -> AdapterInfo;
fn get_texture_format_features(
&self,
format: TextureFormat,
) -> TextureFormatFeatures;
fn get_presentation_timestamp(&self) -> PresentationTimestamp;
fn cooperative_matrix_properties(&self) -> Vec<CooperativeMatrixProperties>;
}