Function solstrale::ray_trace

source ·
pub fn ray_trace<'a>(
    width: u32,
    height: u32,
    scene: Scene,
    output: &'a Sender<RenderProgress>,
    abort: &'a Receiver<bool>
) -> Result<(), Box<dyn Error>>
Expand description

Executes the ray tracing with the given Scene and reports RenderProgress on the output Sender. Listens to abort Receiver for aborting a started ray trace operation