LightsprintSDK 2021.08.08
rr_gl::PluginParamsBloom Class Reference

#include <PluginBloom.h>

Inheritance diagram for rr_gl::PluginParamsBloom:
rr_gl::PluginParams

Public Member Functions

 PluginParamsBloom (const PluginParams *_next, float _threshold)
 
virtual PluginRuntimecreateRuntime (const PluginCreateRuntimeParams &params) const
 
virtual class PluginRuntimecreateRuntime (const PluginCreateRuntimeParams &params) const =0
 

Public Attributes

float threshold
 
- Public Attributes inherited from rr_gl::PluginParams
const PluginParamsnext
 

Detailed Description

Adds bloom effect on top of scene render (next plugin).

Constructor & Destructor Documentation

◆ PluginParamsBloom()

rr_gl::PluginParamsBloom::PluginParamsBloom ( const PluginParams _next,
float  _threshold 
)
inline

Convenience ctor, for setting plugin parameters.

Member Function Documentation

◆ createRuntime()

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

Access to actual plugin code, called by Renderer.

Implements rr_gl::PluginParams.

Member Data Documentation

◆ threshold

float rr_gl::PluginParamsBloom::threshold

Bloom effect is created only around pixels with intensity above this threshold. Default: 1. Lower values produce more bloom.