LightsprintSDK 2021.08.08
|
#include <PluginDOF.h>
Public Member Functions | |
PluginParamsDOF (const PluginParams *_next, bool _accumulated, const rr::RRString &_apertureShapeFilename) | |
virtual PluginRuntime * | createRuntime (const PluginCreateRuntimeParams ¶ms) const |
virtual class PluginRuntime * | createRuntime (const PluginCreateRuntimeParams ¶ms) const =0 |
Public Attributes | |
bool | accumulated |
rr::RRString | apertureShapeFilename |
Public Attributes inherited from rr_gl::PluginParams | |
const PluginParams * | next |
Adds depth of field effect, using current camera settings (camera is passed to renderer via PluginParamsShared).
|
inline |
Convenience ctor, for setting plugin parameters.
|
virtual |
Access to actual plugin code, called by Renderer.
Implements rr_gl::PluginParams.
bool rr_gl::PluginParamsDOF::accumulated |
True = physically based DOF, requires PluginAccumulation later in plugin chain. False = faster DOF approximation
rr::RRString rr_gl::PluginParamsDOF::apertureShapeFilename |
Filename of texture with aperture/bokeh shape. Only used if accumulated==true.