![]() |
vkmEngine 1.0.15
A C++ game engine · vkmengine.com
|
The adapted stops across frames: a backend feeds it each histogram it reads back. More...
#include <exposure.h>
Public Member Functions | |
| float | update (const uint32_t *newest, float seconds, const RenderSettings &settings) |
| The stops this frame is exposed by, RenderSettings::exposure included. | |
| void | forget () |
| Take the next read whole, as for a replaced world; the stops hold until it comes. | |
The adapted stops across frames: a backend feeds it each histogram it reads back.
Takes the first read whole, so a view does not fade in from the authored exposure. A frame read with nothing lit keeps the last target.
| float Vkm::Engine::Exposure::Adaptation::update | ( | const uint32_t * | newest, |
| float | seconds, | ||
| const RenderSettings & | settings ) |
The stops this frame is exposed by, RenderSettings::exposure included.
With autoExposure off, exposure alone, and the next read is taken whole again.
| newest | The newest histogram read back since the last frame; none if none was. |
| seconds | Wall-clock time since the last frame. |
| settings | The frame's. |