Function antler::sample

source · []
pub(crate) fn sample(
    input: &Input<'_>,
    camera: &Camera,
    ray: Ray,
    weight: f64,
    pixel: [usize; 2],
    data: &mut Output,
    rng: &mut ThreadRng
)
Expand description

Sample the scene.