Type Alias surfman::platform::unix::default::device::Adapter

source ·
pub type Adapter = Adapter<Device<Device, Device>, Device>;
Expand description

Represents a hardware display adapter that can be used for rendering (including the CPU).

Adapters can be sent between threads. To render with an adapter, open a thread-local Device.

Aliased Type§

enum Adapter {
    Default(Adapter<Device, Device>),
    Alternate(Adapter),
}

Variants§

§

Default(Adapter<Device, Device>)

The default adapter type.

§

Alternate(Adapter)

The alternate adapter type.