Type Alias surfman::platform::unix::default::context::ContextDescriptor

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

Information needed to create a context. Some APIs call this a “config” or a “pixel format”.

These are local to a device.

Aliased Type§

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

Variants§

§

Default(ContextDescriptor<Device, Device>)

The default context descriptor type.

§

Alternate(ContextDescriptor)

The alternate context descriptor type.