Trait Scene

Source
pub trait Scene: Store {
    // Required method
    fn source(cache: &mut HashSet<u64>) -> String;
}
Expand description

Scene is the something that could be rendered.

Scenes designed to be the collection of objects. It is responsible for iterating over objects, handling secondary rays, implementing some specific rendering techniques (like importance sampling), etc.

Required Methods§

Source

fn source(cache: &mut HashSet<u64>) -> String

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.

Implementors§