LightsprintSDK 2021.08.08
rr_gl::PluginParamsSky Class Reference

#include <PluginSky.h>

Inheritance diagram for rr_gl::PluginParamsSky:
rr_gl::PluginParams

Public Member Functions

 PluginParamsSky (const PluginParams *_next, rr::RRSolver *_solver, float _skyMultiplier)
 
virtual PluginRuntimecreateRuntime (const PluginCreateRuntimeParams &params) const
 
virtual class PluginRuntimecreateRuntime (const PluginCreateRuntimeParams &params) const =0
 

Public Attributes

rr::RRSolversolver
 
float skyMultiplier
 
- Public Attributes inherited from rr_gl::PluginParams
const PluginParamsnext
 

Detailed Description

Renders background or blend of backgrounds as they are set in given solver.

Constructor & Destructor Documentation

◆ PluginParamsSky()

rr_gl::PluginParamsSky::PluginParamsSky ( const PluginParams _next,
rr::RRSolver _solver,
float  _skyMultiplier 
)
inline

Convenience ctor, for setting plugin parameters.

Member Function Documentation

◆ createRuntime()

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

Access to actual plugin code, called by Renderer.

Implements rr_gl::PluginParams.

Member Data Documentation

◆ solver

rr::RRSolver* rr_gl::PluginParamsSky::solver

Solver with environment you want to render.

◆ skyMultiplier

float rr_gl::PluginParamsSky::skyMultiplier

Multiplier to use for sky rendering.