Loading...
Searching...
No Matches
include
bbm
bsdf_flag.h
Go to the documentation of this file.
1
#ifndef _BBM_BSDF_FLAGS_H_
2
#define _BBM_BSDF_FLAGS_H_
3
4
#include "
util/flags.h
"
5
6
/***********************************************************************/
7
/*! \file bsdf_flag.h
8
\brief Reflectance component flags
9
10
bsdf_flag::None
11
bsdf_flag::Diffuse
12
bsdf_flag::Specular
13
bsdf_flag::All
14
************************************************************************/
15
16
namespace
bbm
{
17
18
/*********************************************************************/
19
/*! \brief Reflectance Component Evaluation Flags
20
*********************************************************************/
21
enum struct
bsdf_flag
22
{
23
None
= 0x0000,
24
Diffuse
= 0x0001,
25
Specular
= 0x0002,
26
All
=
Diffuse
|
Specular
27
};
28
29
BBM_ENUM
(
bsdf_flag
,
None
,
Diffuse
,
Specular
,
All
);
30
31
}
// end bbm namespace
32
33
#endif
/* _BBM_BSDF_FLAGS_H_ */
flags.h
Scoped enum operators and methods.
bbm
Definition:
aggregatebsdf.h:29
bbm::bsdf_flag
bsdf_flag
Reflectance Component Evaluation Flags.
Definition:
bsdf_flag.h:22
bbm::bsdf_attr::Specular
@ Specular
bbm::bsdf_attr::Diffuse
@ Diffuse
bbm::bsdf_attr::None
@ None
bbm::bsdf_attr::All
@ All
BBM_ENUM
#define BBM_ENUM(FlagName,...)
BBM_ENUM macro for declaring the types of an enum.
Definition:
reflection.h:332