Nori  24
BSDFQueryRecord Struct Reference

Convenience data structure used to pass multiple parameters to the evaluation and sampling routines in BSDF. More...

#include <bsdf.h>

Collaboration diagram for BSDFQueryRecord:

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.
 

Detailed Description

Convenience data structure used to pass multiple parameters to the evaluation and sampling routines in BSDF.

Definition at line 30 of file bsdf.h.


The documentation for this struct was generated from the following file: