osgPPU::UnitBypass Class Reference

Unit which do simply bypass input to the output. More...

Inheritance diagram for osgPPU::UnitBypass:

osgPPU::Unit osgPPU::UnitCamera osgPPU::UnitCameraAttachmentBypass osgPPU::UnitDepthbufferBypass

Public Member Functions

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

Detailed Description

Unit which do simply bypass input to the output.

The result of this ppu is similar to Unit::setOutputTextreMap(Unit::getInputTextureMap());


Member Function Documentation

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.


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

Back to Homepage of osgPPU

Copyright (C) 2008 by Art Tevs (LGPL)