Loading...
Searching...
No Matches
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
15namespace bbm {
16
17 /**********************************************************************/
18 /*! \brief Light Unit
19 **********************************************************************/
20 enum struct unit_t
21 {
22 Radiance = 0x0000,
23 Importance = 0x0001,
24 };
25
27
28} // end bbm namespace
29
30#endif /* _BBM_UNIT_H_ */
Scoped enum operators and methods.
Definition: aggregatebsdf.h:29
unit_t
Light Unit.
Definition: unit.h:21
#define BBM_ENUM(FlagName,...)
BBM_ENUM macro for declaring the types of an enum.
Definition: reflection.h:332