/// Shorthand for building a simple app that has no model, handles no events and simply draws
/// to a single window.
///
/// This is useful for late night hack sessions where you just don't care about all that other
/// stuff, you just want to play around with some ideas or make something pretty.
Shorthand for building a simple app that has no model, handles no events and simply draws
to a single window.

This is useful for late night hack sessions where you just don't care about all that other
stuff, you just want to play around with some ideas or make something pretty.
Shorthand for building a simple app that has no model handles no events and simply draws to a single window . This is useful for late night hack sessions where you just don ' t care about all that other stuff you just want to play around with some ideas or make something pretty .
pub fn sketch(view: SketchViewFn) {
        let builder: Self = Builder {
            model: default_model,
            event: None,
            update: None,
            default_view: Some(View::Sketch(view)),
            exit: None,
            create_default_window: true,
            vk_instance: None,
            vk_debug_callback: None,
            #[cfg(all(target_os = "macos", not(test)))]
            moltenvk_settings: None,
        };
        builder.run()
    }
pub fn sketch ( view : SketchViewFn ) { let builder : Self = Builder { model : default_model , event : None , update : None , default_view : Some ( View :: Sketch ( view ) ) , exit : None , create_default_window : true , vk_instance : None , vk_debug_callback : None , # [ cfg ( all ( target_os " " not ( test ) ) ) ] moltenvk_settings : None , } ; builder . run ( ) }
Shorthand for building a simple app that has no model, handles no events and simply draws
to a single window.
Shorthand for building a simple app that has no model handles no events and simply draws to a single window .
view
SketchViewFn