10 #include "core/core.hpp"
11 #include "core/common.h"
12 #include "core/vector3d.h"
13 #include "core/normal3d.h"
15 #include "core/render.hpp"
16 #include "core/bxdf.h"
26 int numComponents(BxDFType type = BxDFType::All)
const;
29 BxDFType type = BxDFType::All)
const;
32 double* pdf, BxDFType type = BxDFType::All,
33 BxDFType* sampledType =
nullptr)
const;
35 BxDFType type = BxDFType::All)
const;
37 bool hasType(BxDFType type)
const;
39 inline double eta()
const {
return eta_; }
51 static constexpr
int maxBxDFs_ = 8;
52 std::array<BxDF*, maxBxDFs_> bxdfs_;
58 #endif // _SPICA_BSDF_H_
Definition: interaction.h:68
RGB spectrum.
Definition: spectrum.h:18
The base class of BxDFs.
Definition: bxdf.h:45