pub trait View: Store {
// Required method
fn source(cache: &mut HashSet<u64>) -> String;
}
Expand description
View is an entity the represents virtual camera.
It produce initial rays (we use backward ray propagation) and defines their origin point and direction.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.