Abstract base definition of a BSDF (with virtual functions) More...
#include <string>#include "concepts/bsdf.h"#include "util/vector_util.h"#include "bbm/bsdfmodel.h"Go to the source code of this file.
Classes | |
| struct | bsdf_base< CONF > |
| Forward declaration. More... | |
Namespaces | |
| namespace | bbm |
Functions | |
| template<typename BSDF > requires bbm::concepts::bsdf<BSDF> | |
| std::ostream & | operator<< (std::ostream &s, const BSDF &bsdf) |
Abstract base definition of a BSDF (with virtual functions)
The key difference between a bsdfmodel and the bsdf_model below is that bsdfmodel does not feature virtual functions, and thus which function to call is deciced at compile time. bsdf_base on the other hand declares all methods as virtual, and thus which method to call is decided that run-time.