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
15
#[derive(Clone, Copy, Debug)]
pub struct RamConfig {
    pub page_size: usize,
    pub total_bytes: u64,
    pub available_bytes: Option<u64>,
}

pub fn default_ram_config() -> RamConfig {
    let r = super::arch::compute_dispatch::default_ram_config();
    RamConfig {
        page_size: r.page_size,
        total_bytes: r.total_bytes,
        available_bytes: r.available_bytes,
    }
}