INNER CODE UNIT · Rust

run

attackgoat/vk-graph · crates/vk-graph-egui/src/lib.rs:317

    pub fn run(
        &mut self,
        window: &Window,
        events: &[Event<()>],
        target: impl Into<AnyImageNode>,
        graph: &mut Graph,
        ui_fn: impl FnMut(&mut egui::Ui),
    ) {
        // Update events and generate shapes and texture deltas
        for event in events {
            if let Event::WindowEvent { event, .. } = event {
                #[allow(unused_must_use)]
                {
                    self.egui_winit.on_window_event(window, event);
                }
            }
        }
        let raw_input = self.egui_winit.take_egui_input(window);

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…