clay_core/scene/
background.rs

1use std::collections::HashSet;
2use crate::Store;
3
4
5/// Background of the scene.
6///
7/// It defines that happens to the ray is it hasn't hit any object in the scene.
8pub trait Background: Store {
9    fn source(cache: &mut HashSet<u64>) -> String;
10}