[][src]Function pbrt::core::lightdistrib::create_light_sample_distribution

pub fn create_light_sample_distribution(
    name: String,
    scene: &Scene
) -> Option<Arc<dyn LightDistribution + Send + Sync>>

Decides based on the name and the number of scene lights which light distribution to return.