ScatterRecord struct
#include <darts/material.h>
Convenience data structure used to pass multiple parameters to the evaluation and sampling routines in Material.
Public variables
- Color3f attenuation
- Attenuation to apply to the traced ray.
- Vec3f wo
- The sampled outgoing direction.
- bool is_specular
- Flag indicating whether the ray has a degenerate PDF.