Public Member Functions | |
META_Node (osgPPU, UnitOut) | |
UnitOut (const UnitOut &, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
virtual | ~UnitOut () |
Release it and used memory. | |
virtual void | init () |
Initialze the default Processoring unit. | |
Protected Member Functions | |
virtual bool | noticeBeginRendering (osg::RenderInfo &, const osg::Drawable *) |
virtual void | noticeFinishRendering (osg::RenderInfo &renderInfo, const osg::Drawable *) |
Protected Attributes | |
osg::ref_ptr < osg::FrameBufferObject > | mDefaultFBO |
Default FBO instance, so when apply this it FBO with id 0 will be applied. |
Pass input texture to the frame buffer. Use this ppu to render results of the previous ppus into the framebuffer. So it is usual that this ppu is applied at the end of the pipeline
virtual bool osgPPU::UnitOut::noticeBeginRendering | ( | osg::RenderInfo & | , | |
const osg::Drawable * | ||||
) | [protected, virtual] |
Since UnitOut forces to use no FBO, here we will disable the used FBO. Derived classes has to take care abou that step
Reimplemented from osgPPU::Unit.
virtual void osgPPU::UnitOut::noticeFinishRendering | ( | osg::RenderInfo & | renderInfo, | |
const osg::Drawable * | ||||
) | [protected, virtual] |
Disabled FBO will be restored back.
Reimplemented from osgPPU::Unit.
Copyright (C) 2008 by Art Tevs (LGPL)