9#include <Common/assertion.h>
57 operator bool ()
const;
84 this->context = std::move(
context);
132 m_sampleDirPdf = pdf;
144 return m_sampleDirPdf;
147inline BsdfPdfOutput::operator bool ()
const
149 return m_sampleDirPdf;
Output for BsdfPdfQuery.
Definition BsdfPdfQuery.h:46
void setSampleDirPdf(const lta::PDF &pdf)
Definition BsdfPdfQuery.h:130
real getSampleDirPdfW() const
Definition BsdfPdfQuery.h:135
const lta::PDF & getSampleDirPdf() const
Definition BsdfPdfQuery.h:140
Information for the probability of generating a specific BSDF sample.
Definition BsdfPdfQuery.h:66
Output outputs
Definition BsdfPdfQuery.h:73
Input inputs
Definition BsdfPdfQuery.h:72
BsdfQueryContext context
Definition BsdfPdfQuery.h:71
The environment a BSDF query is performed under.
Definition BsdfQueryContext.h:13
Output for BsdfSampleQuery.
Definition BsdfSampleQuery.h:45
Information for generating a BSDF sample.
Definition BsdfSampleQuery.h:141
General information about a ray-surface intersection event.
Definition SurfaceHit.h:59
SurfaceHitReason getReason() const
Definition SurfaceHit.h:164
constexpr bool hasExactly(const FlagsSet &flagsSet) const
Checks whether this instance contains exactly the specified flags. No more, no less.
Definition TBitFlags.ipp:99
A sample from a Probability Density Function (PDF).
Definition PDF.h:14
real getPdfW() const
Definition PDF.h:87
T lengthSquared() const
Definition TVectorNBase.ipp:44
The root for all renderer implementations.
Definition EEngineProject.h:6