Public Member Functions | |
META_Node (osgPPU, UnitBypass) | |
UnitBypass (const UnitBypass &u, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
Protected Member Functions | |
virtual void | setupInputsFromParents () |
virtual bool | noticeBeginRendering (osg::RenderInfo &, const osg::Drawable *) |
Method to let the unit know that the rendering will now beginns, if returned false, then drawable is not rendered. |
The result of this ppu is similar to Unit::setOutputTextreMap(Unit::getInputTextureMap());
virtual void osgPPU::UnitBypass::setupInputsFromParents | ( | ) | [protected, virtual] |
Setup the input textures based on the parents. Each unit has to setup its input textures properly. This method do scan for all parents up to the Processor and use the output textures of that parents units and the processor as input to this unit. Call this method from derived units to setup inputs properly.
Reimplemented from osgPPU::Unit.
Reimplemented in osgPPU::UnitCameraAttachmentBypass.
Copyright (C) 2008 by Art Tevs (LGPL)