11#include <Common/primitive_type.h>
15namespace ph {
class IRayEnergyEstimator; }
16namespace ph {
class SampleFilter; }
42 ClassType clazz(
"path-tracing");
43 clazz.docName(
"Path Tracing Visualizer");
44 clazz.description(
"Render frames with common path tracing methods.");
48 scheduler.description(
"Scheduler for rendering, affect the order of rendered regions.");
51 clazz.addField(scheduler);
54 estimator.
description(
"The energy estimating component used by the visualizer.");
57 clazz.addField(estimator);
60 sampleFilter.
description(
"Sample filter for the film sampling process.");
63 clazz.addField(sampleFilter);
83 return m_sampleFilter;
Definition CoreCookedUnit.h:19
Definition CoreCookingContext.h:15
Definition FrameVisualizer.h:16
Definition PathTracingVisualizer.h:22
std::unique_ptr< IRayEnergyEstimator > makeEstimator() const
Definition PathTracingVisualizer.cpp:59
PH_DEFINE_SDL_CLASS(TSdlOwnerClass< PathTracingVisualizer >)
Definition PathTracingVisualizer.h:40
void cook(const CoreCookingContext &ctx, CoreCookedUnit &cooked) override
Definition PathTracingVisualizer.cpp:18
ESampleFilter getSampleFilter() const
Definition PathTracingVisualizer.h:81
ERayEnergyEstimator getEstimator() const
Definition PathTracingVisualizer.h:76
EScheduler getScheduler() const
Definition PathTracingVisualizer.h:71
SampleFilter makeSampleFilter() const
Definition PathTracingVisualizer.cpp:38
An image reconstruction kernel.
Definition SampleFilter.h:17
Definition TSdlEnumField.h:23
SDL binding type for a canonical SDL resource class.
Definition TSdlOwnerClass.h:23
TSdlValue & description(std::string descriptionStr)
Definition TSdlValue.ipp:95
TSdlValue & optional()
Definition TSdlValue.ipp:103
TSdlValue & defaultTo(T defaultValue)
Definition TSdlValue.ipp:71
The root for all renderer implementations.
Definition EEngineProject.h:6
ESampleFilter
Definition sdl_sample_filter_type.h:9
ERayEnergyEstimator
Definition sdl_ray_energy_estimator_type.h:9
EScheduler
Definition EScheduler.h:7