[−][src]Function pbrt::core::integrator::estimate_direct
pub fn estimate_direct(
it: &SurfaceInteraction,
u_scattering: &Point2f,
light: Arc<dyn Light + Send + Sync>,
u_light: &Point2f,
scene: &Scene,
_sampler: &mut Box<dyn Sampler + Send + Sync>,
handle_media: bool,
specular: bool
) -> Spectrum
Computes a direct lighting estimate for a single light source sample.