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"
43 #include "../WGECamera.h"
45 #include "../../common/WProperties.h"
46 #include "../../common/WPrototyped.h"
78 osg::ref_ptr< osg::Texture2D > normal,
79 osg::ref_ptr< osg::Texture2D > parameter,
80 osg::ref_ptr< osg::Texture2D > tangent,
81 osg::ref_ptr< osg::Texture2D > depth );
104 size_t bind( osg::ref_ptr< WGEOffscreenRenderPass > to )
const;
135 typedef boost::shared_ptr< WGEPostprocessor >
SPtr;
140 typedef boost::shared_ptr< const WGEPostprocessor >
ConstSPtr;
205 virtual osg::ref_ptr< osg::Texture2D >
getOutput(
size_t idx = 0 )
const;
212 const std::vector< osg::ref_ptr< osg::Texture2D > >&
getOutputList()
const;
219 virtual osg::ref_ptr< osg::Texture2D >
getDepth()
const;
226 virtual const std::string
getName()
const;
292 #endif // WGEPOSTPROCESSOR_H