old_school_gfx_glutin_ext
Initialise & update old school gfx with glutin + winit.
type ColorFormat = Srgba8;
type DepthFormat = DepthStencil;
let event_loop = new;
let window_builder = new;
// Initialise winit window, glutin context & gfx views
let Init = window_builder
.?;
// Update gfx views, e.g. after a window resize
resize_views;
Example
cargo run --example triangle
Minimum supported rust compiler
All crates maintained with latest stable rust.