Added osgSim::OverlayNode setup in osgsimulation, and added preliminary test

code to the osgSim::OverlayNode to test osgsimulation/the architecture.
This commit is contained in:
Robert Osfield
2005-08-31 15:04:27 +00:00
parent af7eba1a7f
commit a420782199
3 changed files with 124 additions and 13 deletions

View File

@@ -35,10 +35,10 @@ class OSGSIM_EXPORT OverlayNode : public osg::Group
virtual void traverse(osg::NodeVisitor& nv);
/** Set the overlay subgraph which will be render to texture.*/
/** Set the overlay subgraph which will be rendered to texture.*/
void setOverlaySubgraph(osg::Node* node);
/** Get the overlay subgraph which will be render to texture.*/
/** Get the overlay subgraph which will be rendered to texture.*/
osg::Node* getOverlaySubgraph() { return _overlaySubgraph.get(); }
/** Get the const overlay subgraph which will be render to texture.*/