25 #ifndef WGEPOSTPROCESSOR_H
26 #define WGEPOSTPROCESSOR_H
31 #include <boost/shared_ptr.hpp>
33 #include <osg/ref_ptr>
36 #include <osg/Texture>
38 #include "../offscreen/WGEOffscreenRenderNode.h"
39 #include "../offscreen/WGEOffscreenRenderPass.h"
40 #include "../offscreen/WGEOffscreenFinalPass.h"
42 #include "../shaders/WGEShaderPropertyDefineOptions.h"
44 #include "../../common/WProperties.h"
45 #include "../../common/WPrototyped.h"
79 osg::ref_ptr< osg::Texture2D > normal,
80 osg::ref_ptr< osg::Texture2D > parameter,
81 osg::ref_ptr< osg::Texture2D > tangent,
82 osg::ref_ptr< osg::Texture2D > depth );
105 size_t bind( osg::ref_ptr< WGEOffscreenRenderPass > to )
const;
136 typedef boost::shared_ptr< WGEPostprocessor >
SPtr;
141 typedef boost::shared_ptr< const WGEPostprocessor >
ConstSPtr;
192 virtual osg::ref_ptr< osg::Texture2D >
getOutput(
size_t idx = 0 )
const;
199 const std::vector< osg::ref_ptr< osg::Texture2D > >&
getOutputList()
const;
206 virtual osg::ref_ptr< osg::Texture2D >
getDepth()
const;
213 virtual const std::string
getName()
const;
258 #endif // WGEPOSTPROCESSOR_H