LightsprintSDK 2021.08.08
rr_gl::PluginParamsFPS Class Reference

#include <PluginFPS.h>

Inheritance diagram for rr_gl::PluginParamsFPS:
rr_gl::PluginParams

Public Member Functions

 PluginParamsFPS (const PluginParams *_next, FpsCounter &_fpsCounter, bool _percentileGraph)
 
virtual PluginRuntimecreateRuntime (const PluginCreateRuntimeParams &params) const
 
virtual class PluginRuntimecreateRuntime (const PluginCreateRuntimeParams &params) const =0
 

Public Attributes

FpsCounterfpsCounter
 
bool percentileGraph
 
- Public Attributes inherited from rr_gl::PluginParams
const PluginParamsnext
 

Detailed Description

Adds fps number to lower right corner.

Constructor & Destructor Documentation

◆ PluginParamsFPS()

rr_gl::PluginParamsFPS::PluginParamsFPS ( const PluginParams _next,
FpsCounter _fpsCounter,
bool  _percentileGraph 
)
inline

Convenience ctor, for setting plugin parameters.

Member Function Documentation

◆ createRuntime()

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

Access to actual plugin code, called by Renderer.

Implements rr_gl::PluginParams.

Member Data Documentation

◆ fpsCounter

FpsCounter& rr_gl::PluginParamsFPS::fpsCounter

FPS number to be rendered at lower right corner of viewport.

◆ percentileGraph

bool rr_gl::PluginParamsFPS::percentileGraph

Render also percentile graph.