LightsprintSDK 2021.08.08
rr_gl::PluginParamsContours Class Reference

#include <PluginContours.h>

Inheritance diagram for rr_gl::PluginParamsContours:
rr_gl::PluginParams

Public Member Functions

 PluginParamsContours (const PluginParams *_next, const rr::RRVec4 &_silhouetteColor, const rr::RRVec4 &_creaseColor)
 
virtual PluginRuntimecreateRuntime (const PluginCreateRuntimeParams &params) const
 
virtual class PluginRuntimecreateRuntime (const PluginCreateRuntimeParams &params) const =0
 

Public Attributes

rr::RRVec4 silhouetteColor
 
rr::RRVec4 creaseColor
 
- Public Attributes inherited from rr_gl::PluginParams
const PluginParamsnext
 

Detailed Description

Adds contours on top of scene render (next plugin).

Constructor & Destructor Documentation

◆ PluginParamsContours()

rr_gl::PluginParamsContours::PluginParamsContours ( const PluginParams _next,
const rr::RRVec4 _silhouetteColor,
const rr::RRVec4 _creaseColor 
)
inline

Convenience ctor, for setting plugin parameters.

Member Function Documentation

◆ createRuntime()

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

Access to actual plugin code, called by Renderer.

Implements rr_gl::PluginParams.

Member Data Documentation

◆ silhouetteColor

rr::RRVec4 rr_gl::PluginParamsContours::silhouetteColor

Color and opacity of silhouettes.

◆ creaseColor

rr::RRVec4 rr_gl::PluginParamsContours::creaseColor

Color and opacity of creases.