LightsprintSDK 2021.08.08
rr_gl::PluginParamsShowDDI Class Reference

#include <PluginShowDDI.h>

Inheritance diagram for rr_gl::PluginParamsShowDDI:
rr_gl::PluginParams

Public Member Functions

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

Public Attributes

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

Detailed Description

Helper for visualizing per-triangle data sent to RRSolver::setDirectIllumination().

This plugin works by locating PluginScene in plugin chain and changing its parameters. It has no effect if no such plugin is found.

Constructor & Destructor Documentation

◆ PluginParamsShowDDI()

rr_gl::PluginParamsShowDDI::PluginParamsShowDDI ( const PluginParams _next,
rr::RRSolver _solver 
)
inline

Convenience ctor, for setting plugin parameters.

Member Function Documentation

◆ createRuntime()

virtual PluginRuntime * rr_gl::PluginParamsShowDDI::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::PluginParamsShowDDI::solver

Solver with DDI (detected direct illumination) you want to visualize.