51 #ifndef POSTPROCESSORINTERFACE_HH
52 #define POSTPROCESSORINTERFACE_HH
54 #include <ACG/GL/GLState.hh>
92 void bindColorTex(
int _texSlot = 0)
const;
95 void bindDepthTex(
int _texSlot = 0)
const;
102 GLuint _drawBuffer = 0,
105 const GLint* _viewport = 0);
127 PostProcessorFormatDesc(
bool _multisampled =
false) : supportMultisampling_(_multisampled),outputFormat_(PostProcessorFormat_DONTCARE)
133 PostProcessorFormat_DONTCARE,
134 PostProcessorFormat_FLOAT,
139 std::vector<Format> inputFormats_;
142 bool supportMultisampling_;
145 Format outputFormat_;
294 #endif // RPCINTERFACE_HH
virtual QAction * optionsAction()
Return options menu.
virtual void postProcess(ACG::GLState *_glState, const std::vector< const PostProcessorInput * > &_input, const PostProcessorOutput &_output)=0
post processor function
virtual QString postProcessorName()=0
announce name for the postProcessor function
virtual bool isStereoProcessor()
does post processor resolve stereo buffer
Interface to add global image post processor functions from within plugins.
virtual QString checkOpenGL()=0
Check OpenGL capabilities.
bool bind(osg::GeometryPtr &_geo, Mesh &_mesh)
virtual ~PostProcessorInterface()
Destructor.