osgPPU::UnitOut Class Reference

Output the input to the frame buffer instead to the output texture. More...

Inheritance diagram for osgPPU::UnitOut:

osgPPU::Unit osgPPU::UnitOutCapture

Public Member Functions

 META_Node (osgPPU, UnitOut)
 UnitOut (const UnitOut &, const osg::CopyOp &copyop=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.

Detailed Description

Output the input to the frame buffer instead to the output texture.

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


Member Function Documentation

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.


The documentation for this class was generated from the following file:

Back to Homepage of osgPPU

Copyright (C) 2008 by Art Tevs (LGPL)