[go: up one dir, main page]

glutin 0.4.7

Cross-plaform OpenGL context provider.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd"))]

pub use self::monitor::{MonitorId, get_available_monitors, get_primary_monitor};
pub use self::window::{PollEventsIterator, WaitEventsIterator, Window, WindowProxy};

extern crate wayland_kbd;
extern crate wayland_window;

mod context;
mod events;
mod keyboard;
mod monitor;
mod window;

#[inline]
pub fn is_available() -> bool {
    context::WAYLAND_CONTEXT.is_some()
}