OpenWalnut
1.4.0
|
Cel shading effect postprocessor. More...
#include <WGEPostprocessorCelShading.h>
Public Types | |
typedef boost::shared_ptr < WGEPostprocessorCelShading > | SPtr |
Convenience typedef for a boost::shared_ptr< WGEPostprocessorCelShading >. | |
typedef boost::shared_ptr < const WGEPostprocessorCelShading > | ConstSPtr |
Convenience typedef for a boost::shared_ptr< const WGEPostprocessorCelShading >. | |
Public Member Functions | |
WGEPostprocessorCelShading () | |
Default constructor. | |
virtual | ~WGEPostprocessorCelShading () |
Destructor. | |
virtual WGEPostprocessor::SPtr | create (osg::ref_ptr< WGEOffscreenRenderNode > offscreen, const PostprocessorInput &gbuffer) const |
Create instance. | |
Protected Member Functions | |
WGEPostprocessorCelShading (osg::ref_ptr< WGEOffscreenRenderNode > offscreen, const PostprocessorInput &gbuffer) | |
Constructor. |
Cel shading effect postprocessor.
Definition at line 35 of file WGEPostprocessorCelShading.h.
typedef boost::shared_ptr< const WGEPostprocessorCelShading > WGEPostprocessorCelShading::ConstSPtr |
Convenience typedef for a boost::shared_ptr< const WGEPostprocessorCelShading >.
Reimplemented from WGEPostprocessor.
Definition at line 46 of file WGEPostprocessorCelShading.h.
typedef boost::shared_ptr< WGEPostprocessorCelShading > WGEPostprocessorCelShading::SPtr |
Convenience typedef for a boost::shared_ptr< WGEPostprocessorCelShading >.
Reimplemented from WGEPostprocessor.
Definition at line 41 of file WGEPostprocessorCelShading.h.
Default constructor.
Definition at line 31 of file WGEPostprocessorCelShading.cpp.
Referenced by create().
WGEPostprocessorCelShading::~WGEPostprocessorCelShading | ( | ) | [virtual] |
Destructor.
Definition at line 70 of file WGEPostprocessorCelShading.cpp.
WGEPostprocessorCelShading::WGEPostprocessorCelShading | ( | osg::ref_ptr< WGEOffscreenRenderNode > | offscreen, |
const PostprocessorInput & | gbuffer | ||
) | [protected] |
Constructor.
Implement this constructor and build your processing pipeline in here
offscreen | use this offscreen node to add your texture pass' |
gbuffer | the input textures you should use |
Definition at line 37 of file WGEPostprocessorCelShading.cpp.
References WGEPostprocessor::PostprocessorInput::bind(), WGEPostprocessor::m_effectOnly, WGEPostprocessor::m_effectOnlyPreprocessor, WGEPostprocessor::m_properties, and WGEPostprocessor::m_resultTextures.
WGEPostprocessor::SPtr WGEPostprocessorCelShading::create | ( | osg::ref_ptr< WGEOffscreenRenderNode > | offscreen, |
const PostprocessorInput & | gbuffer | ||
) | const [virtual] |
Create instance.
Uses the protected constructor. Implement it if you derive from this class!
offscreen | use this offscreen node to add your texture pass' |
gbuffer | the input textures you should use |
Implements WGEPostprocessor.
Definition at line 75 of file WGEPostprocessorCelShading.cpp.
References WGEPostprocessorCelShading().