Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions
bsdf_properties.h File Reference

Flags to record and indicate specific properties of BSDF models. More...

#include <ostream>
#include "util/flags.h"
#include "concepts/bsdfmodel.h"

Go to the source code of this file.

Classes

struct  alternative< BSDFMODEL >
 Forward declaration of alternative. Should be specified if a model provides an alternative. More...
 

Namespaces

namespace  bbm
 

Enumerations

enum struct  bsdf_prop {
  None = 0x0 , Static = 0x1000000 , Diffuse = 0x00000001 , Specular = 0x00000002 ,
  Combined = Diffuse | Specular , Depricated = 0x00000004 , Alternative = 0x00000008 | Depricated , Convertible = 0x00000010 | Alternative ,
  Unnormalized = 0x0000100 , NonReciprocal = 0x0000200 , GrazingAngle = 0x0000400 , NonEnergyConservative = 0x0000800 | GrazingAngle ,
  ApproximateReflectance = 000001000
}
 BSDF property flags. More...
 

Functions

template<typename BSDFMODEL >
alternative< BSDFMODEL >::type make_alternative (const BSDFMODEL &src)
 COnstruct an equivalent alternative BSDF. Should be specialized for each model that provides this option.
 
std::ostream & operator<< (std::ostream &s, const bbm::bsdf_prop &prop)
 

Detailed Description

Flags to record and indicate specific properties of BSDF models.


Class Documentation

◆ bbm::alternative

struct bbm::alternative
template<typename BSDFMODEL>
struct bbm::alternative< BSDFMODEL >

Forward declaration of alternative. Should be specified if a model provides an alternative.

Class Members
typedef BSDFMODEL type