LightsprintSDK 2021.08.08
rr_gl::PluginParamsAccumulation Class Reference

#include <PluginAccumulation.h>

Inheritance diagram for rr_gl::PluginParamsAccumulation:
rr_gl::PluginParams

Public Member Functions

 PluginParamsAccumulation (const PluginParams *_next, bool _restart)
 
virtual PluginRuntimecreateRuntime (const PluginCreateRuntimeParams &params) const
 
virtual class PluginRuntimecreateRuntime (const PluginCreateRuntimeParams &params) const =0
 

Public Attributes

bool restart
 
- Public Attributes inherited from rr_gl::PluginParams
const PluginParamsnext
 

Detailed Description

Accumulates frames in time, outputs average of previous frames.

Constructor & Destructor Documentation

◆ PluginParamsAccumulation()

rr_gl::PluginParamsAccumulation::PluginParamsAccumulation ( const PluginParams _next,
bool  _restart 
)
inline

Convenience ctor, for setting plugin parameters.

Member Function Documentation

◆ createRuntime()

virtual PluginRuntime * rr_gl::PluginParamsAccumulation::createRuntime ( const PluginCreateRuntimeParams params) const
virtual

Access to actual plugin code, called by Renderer.

Implements rr_gl::PluginParams.

Member Data Documentation

◆ restart

bool rr_gl::PluginParamsAccumulation::restart

When set, old images are lost, accumulation is restarted.