Struct area_t::sampling_data_t

Nested Relationships

This struct is a nested type of Class area_t.

Nested Types

Struct Documentation

struct sampling_data_t

Public Functions

triangle_sample_t sample(const area_t *emitter, sampler::sampler_t &sampler) const noexcept
area_density_t pdf(const area_t *emitter, const intersection_surface_t &surface) const noexcept

Public Members

discrete_distribution_t<f_t> triangle_dist
triangle_sampler_t triangle_samplers
struct triangle_sample_t

Public Members

area_density_t ppd
intersection_surface_t surface