Struct glium_pib::WindowConfig [] [src]

pub struct WindowConfig {
    pub display: Display,
    pub surface_size: Option<(u32, u32)>,
    pub red: ColorBits,
    pub green: ColorBits,
    pub blue: ColorBits,
    pub alpha: Option<ColorBits>,
    pub depth: Option<DepthBits>,
}

Window configuration.

Fields

The display to use.

The size of the surface to render to. If none, the size of the display is used.

Number of bits per pixel used for the red channel.

Number of bits per pixel used for the green channel.

Number of bits per pixel used for the blue channel.

Number of bits per pixel used for the alpha channel.

Number of bits per pixel used for the depth buffer.

Trait Implementations

impl Copy for WindowConfig
[src]

impl Clone for WindowConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for WindowConfig
[src]

Returns the "default value" for a type. Read more