pub trait Adapter<A: Api>: Send + Sync {
    unsafe fn open(
        features: Features,
        limits: &Limits
    ) -> Result<OpenDevice<A>, DeviceError>; unsafe fn texture_format_capabilities(
        format: TextureFormat
    ) -> TextureFormatCapabilities; unsafe fn surface_capabilities(
        surface: &A::Surface
    ) -> Option<SurfaceCapabilities>; }

Required Methods

Return the set of supported capabilities for a texture format.

Returns the capabilities of working with a specified surface.

None means presentation is not supported for it.