18 SdlEnumType sdlEnum(
"photon-mapping-mode");
19 sdlEnum.description(
"Type of the photon mapping method.");
21 sdlEnum.addEntry(EnumType::Vanilla,
"vanilla",
22 "Directly compute energy values from photon map, no fancy tricks applied.");
24 sdlEnum.addEntry(EnumType::Progressive,
"progressive",
25 "Progressively refine the rendered results.");
27 sdlEnum.addEntry(EnumType::StochasticProgressive,
"stochastic-progressive",
28 "Stochastic sampling technique is utilized for energy value computation.");
30 sdlEnum.addEntry(EnumType::ProbabilisticProgressive,
"probabilistic-progressive",
31 "Probabilistic approach to progressive photon mapping. Consumes more memory, but is "
32 "easily parallelizable to multiple workers.");
SDL enum implementation with common features. Enum value and string mapping are done in a brute-force...
Definition TSdlGeneralEnum.h:26
The root for all renderer implementations.
Definition EEngineProject.h:6
EPhotonMappingMode
Definition sdl_photon_mapping_mode.h:9
@ ProbabilisticProgressive
#define PH_DEFINE_SDL_ENUM(...)
Define a SDL enum with function-like syntax.
Definition sdl_interface.h:142