lambent 0.1.0

A ray / path tracer built on wgpu.
Documentation
1
2
3
4
5
6
7
8
9
use crate::low_level::IntersectionHandler;

pub struct DefaultIntersectionHandler;

unsafe impl IntersectionHandler for DefaultIntersectionHandler {
    fn source(&self) -> String {
        include_str!("default_intersection_handler.wesl").to_string()
    }
}