Convenience data structure used to pass multiple parameters to the evaluation and sampling routines in BSDF. More...
#include <bsdf.h>
Public Member Functions | |
BSDFQueryRecord (const Vector3f &wi, const Point2f &uv) | |
Create a new record for sampling the BSDF. | |
BSDFQueryRecord (const Vector3f &wi, const Vector3f &wo, EMeasure measure, const Point2f &uv) | |
Create a new record for querying the BSDF. | |
Public Attributes | |
Vector3f | wi |
Incident direction (in the local frame) | |
Vector3f | wo |
Outgoing direction (in the local frame) | |
float | eta |
Relative refractive index in the sampled direction. | |
EMeasure | measure |
Measure associated with the sample. | |
Point2f | uv |
UV associated with the point. | |
Convenience data structure used to pass multiple parameters to the evaluation and sampling routines in BSDF.