|
osgEarth 2.1.1
|
Classes | |
| struct | LayerData |
Functions | |
| static osg::Geode * | s_findGeodeByUID (osg::Group *group, UID layerUID) |
| static osg::Geode* anonymous_namespace{MultiPassTerrainTechnique.cpp}::s_findGeodeByUID | ( | osg::Group * | group, |
| UID | layerUID | ||
| ) | [static] |
Definition at line 53 of file MultiPassTerrainTechnique.cpp.
{
for( unsigned int i=0; i<group->getNumChildren(); ++i )
{
osg::Geode* geode = static_cast<osg::Geode*>( group->getChild(i) );
LayerData* d = static_cast<LayerData*>( geode->getUserData() );
if ( d && d->_layerUID == layerUID )
return geode;
}
return 0L;
}
Here is the caller graph for this function:
1.7.3