Nori  23
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)
 Create a new record for sampling the BSDF.
 
 BSDFQueryRecord (const Vector3f &wi, const Vector3f &wo, EMeasure measure)
 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
 
Point3f p
 Point 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.

Member Data Documentation

◆ uv

Point2f BSDFQueryRecord::uv

Additional information possibly needed by the BSDF UV associated with the point

Definition at line 55 of file bsdf.h.


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