Function luminance_glfw::open_window [] [src]

pub fn open_window(
    dim: WindowDim,
    title: &str,
    win_opt: WindowOpt
) -> Result<Device, DeviceError>

Create a new window and bootstrap a luminance environment that lives as long as the Device lives.