Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
JRToneMapping.h
Go to the documentation of this file.
1#pragma once
2
5
6#include <Common/primitive_type.h>
7
8namespace ph
9{
10
19{
20public:
21 template<typename T>
23
25
26 void operate(const HdrRgbFrame& srcFrame, HdrRgbFrame* out_dstFrame) override;
27
28 void operateLocal(HdrRgbFrame& frame, const TAABB2D<uint32>& region) const;
29 void setExposure(real exposure);
30
31private:
32 real m_exposure;
33};
34
35}// end namespace ph
Definition FrameOperator.h:9
Maps HDR values to LDR.
Definition JRToneMapping.h:19
void setExposure(real exposure)
Definition JRToneMapping.cpp:42
JRToneMapping()
Definition JRToneMapping.cpp:11
void operate(const HdrRgbFrame &srcFrame, HdrRgbFrame *out_dstFrame) override
Definition JRToneMapping.cpp:16
void operateLocal(HdrRgbFrame &frame, const TAABB2D< uint32 > &region) const
Definition JRToneMapping.cpp:24
A 2-D Axis-Aligned Bounding Box (AABB).
Definition TAABB2D.h:26
The root for all renderer implementations.
Definition EEngineProject.h:6