#include <PluginLensFlare.h>
|
| PluginParamsLensFlare (const PluginParams *_next, float _flareSize, unsigned _flareId, const rr::RRSolver *_solver, unsigned _quality) |
|
| PluginParamsLensFlare (const PluginParams *_next, float _flareSize, unsigned _flareId, const rr::RRLights *_lights, const rr::RRCollider *_collider, const rr::RRObject *_scene, unsigned _quality) |
|
virtual PluginRuntime * | createRuntime (const PluginCreateRuntimeParams ¶ms) const |
|
virtual class PluginRuntime * | createRuntime (const PluginCreateRuntimeParams ¶ms) const =0 |
|
◆ PluginParamsLensFlare() [1/2]
rr_gl::PluginParamsLensFlare::PluginParamsLensFlare |
( |
const PluginParams * |
_next, |
|
|
float |
_flareSize, |
|
|
unsigned |
_flareId, |
|
|
const rr::RRSolver * |
_solver, |
|
|
unsigned |
_quality |
|
) |
| |
|
inline |
Convenience ctor, for setting plugin parameters.
◆ PluginParamsLensFlare() [2/2]
Convenience ctor, for setting plugin parameters.
◆ createRuntime()
◆ flareSize
float rr_gl::PluginParamsLensFlare::flareSize |
Relative size of flare, 1 for typical size.
◆ flareId
unsigned rr_gl::PluginParamsLensFlare::flareId |
Various flare parameters are generated from this number.
◆ lights
Collection of lights in scene.
◆ collider
Collider used for occlusion testing.
◆ scene
Object with all scene geometry, used for occlusion testing.
◆ quality
unsigned rr_gl::PluginParamsLensFlare::quality |
Number of rays shot. Higher quality makes effect of gradual occlusion smoother.