Loading...
Searching...
No Matches
include
bbm
unit.h
Go to the documentation of this file.
1
#ifndef _BBM_UNIT_H_
2
#define _BBM_UNIT_H_
3
4
#include <type_traits>
5
#include "
util/flags.h
"
6
7
/************************************************************************/
8
/*! \file unit.h
9
\brief Light unit: Radiance or Importance
10
11
unit_t::Radiance
12
unit_t::Importance
13
*************************************************************************/
14
15
namespace
bbm
{
16
17
/**********************************************************************/
18
/*! \brief Light Unit
19
**********************************************************************/
20
enum struct
unit_t
21
{
22
Radiance
= 0x0000,
23
Importance
= 0x0001,
24
};
25
26
BBM_ENUM
(
unit_t
,
Radiance
,
Importance
);
27
28
}
// end bbm namespace
29
30
#endif
/* _BBM_UNIT_H_ */
flags.h
Scoped enum operators and methods.
bbm
Definition:
aggregatebsdf.h:29
bbm::unit_t
unit_t
Light Unit.
Definition:
unit.h:21
bbm::unit_t::Radiance
@ Radiance
bbm::unit_t::Importance
@ Importance
BBM_ENUM
#define BBM_ENUM(FlagName,...)
BBM_ENUM macro for declaring the types of an enum.
Definition:
reflection.h:332