MCPcopy Create free account
hub / github.com/Rust-GPU/rust-cuda / process_event

Method process_event

examples/cuda/cpu/path_tracer/src/renderer.rs:155–159  ·  view source on GitHub ↗
(&mut self, event: &Event<()>, _control_flow: &mut ControlFlow)

Source from the content-addressed store, hash-verified

153 }
154
155 pub fn process_event(&mut self, event: &Event<()>, _control_flow: &mut ControlFlow) {
156 if self.controller.process_event(event, &mut self.camera) {
157 self.clear_view(false);
158 }
159 }
160}

Callers

nothing calls this directly

Calls 1

clear_viewMethod · 0.80

Tested by

no test coverage detected