Skip to main content

three_d/
window.rs

1//!
2//! Window, event handling and context creation for easy setup.
3//! * Can be avoided fully by setting up a window, event handling etc. and creating a [Context](crate::core::Context) from a [glow](https://crates.io/crates/glow) OpenGL/WebGL context.
4//! * If full control over the window and event handling, but not the context creation, is desired, use a [WindowedContext].
5//! * Finally, for an easy setup, use [Window::new] or [Window::from_winit_window], the latter will provide full control over the creation of the window.
6//!
7//!
8
9#[cfg(feature = "window")]
10#[cfg_attr(docsrs, doc(feature = "window"))]
11mod winit_window;
12#[cfg(feature = "window")]
13pub use winit_window::*;