enginerenderer 0.0.1

A zero-dependency offline rendering engine in pure Rust — CPU path tracing, BVH acceleration, 16-band spectral rendering, PBR materials, animation & video export.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Backend-agnostic window event surfaced to [`super::NativeWindow`].

/// Backend-agnostic event surfaced to [`super::NativeWindow::pump`].
#[derive(Debug, Clone, Copy)]
pub enum BackendEvent {
    CloseRequested,
    Resized { width: u32, height: u32 },
    Expose,
    KeyPress { keysym: u64 },
    KeyRelease { keysym: u64 },
    MouseButtonPress { button: u32, x: i32, y: i32 },
    MouseButtonRelease { button: u32, x: i32, y: i32 },
    MouseMove { x: i32, y: i32 },
}